On 7 April 2010 23:12, Roderick Colenbrander <thunderbir...@gmail.com> wrote:
> @@ -236,9 +236,55 @@ struct wined3d_format_texture_info
>     GLint gl_format;
>     GLint gl_type;
>     unsigned int flags;
> +    unsigned int conv_byte_count;
>     GL_SupportedExt extension;
> +    void (*convert)(const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT 
> height);
>  };
>
...
> -            GL_LUMINANCE_ALPHA,         GL_UNSIGNED_BYTE,
> +            GL_LUMINANCE_ALPHA,         GL_UNSIGNED_BYTE,                 0,
>             WINED3DFMT_FLAG_FILTERING,
> -            WINED3D_GL_EXT_NONE},
> +            WINED3D_GL_EXT_NONE,        NULL},
Did you test this patch much?


Reply via email to