[PATCH] wined3d: wined3d_check_surface_capability return TRUE for surfaces with WINED3DFMT_FLAG_TEXTURE.

Henri Verbeet hverbeet at gmail.com
Tue Sep 5 10:55:54 CDT 2017


On 4 September 2017 at 18:26, lorenzo Skotos <lorenzofersteam at live.it> wrote:
> -    if (format->glInternal)
> +    if (format->glInternal || format->flags[WINED3D_GL_RES_TYPE_TEX_2D] & WINED3DFMT_FLAG_TEXTURE)
That should fix the regression, but since the ambiguity of
WINED3DFMT_FLAG_TEXTURE led to the issue in the first place, I'd
rather not simply restore the check. Instead, I think it would be
better to explicitly mark these special "extension" formats as such.
In theory Matteo has a patch for that.



More information about the wine-devel mailing list