[PATCH v2 0/5] MR255: d3d11: Fix reporting of some format caps.

Zebediah Figura zfigura at codeweavers.com
Thu Jun 23 18:09:45 CDT 2022


On 6/23/22 03:45, Jan Sikorski (@jsikorski) wrote:
> Jan Sikorski (@jsikorski) commented about dlls/wined3d/directx.c:
>>   
>>       for (; gl_type <= gl_type_end; ++gl_type)
>>       {
>> +        unsigned int caps = format->caps[gl_type];
>> +
>> +        if (gl_type == WINED3D_GL_RES_TYPE_TEX_2D && !(bind_flags & WINED3D_BIND_SHADER_RESOURCE))
>> +            caps |= format->caps[WINED3D_GL_RES_TYPE_RB];
> Shouldn't we use this 'caps' below?
> 

Indeed; thanks for catching this. I've sent a v3.



More information about the wine-devel mailing list