[PATCH 3/4] wined3d: Start moving texture format fixups to the formats table.

Henri Verbeet hverbeet at gmail.com
Thu Apr 8 04:58:59 CDT 2010


On 7 April 2010 23:12, Roderick Colenbrander <thunderbird2k at 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?



More information about the wine-devel mailing list