27 Jan
2016
27 Jan
'16
8:09 a.m.
On 26 January 2016 at 22:51, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
+ if (format->glInternal + && (format->flags[WINED3D_GL_RES_TYPE_RB] & WINED3DFMT_FLAG_RENDERTARGET + || format->flags[WINED3D_GL_RES_TYPE_RB] & WINED3DFMT_FLAG_DEPTH + || format->flags[WINED3D_GL_RES_TYPE_RB] & WINED3DFMT_FLAG_STENCIL)) It's not the worst thing in the world, but I think you meant "format->flags[WINED3D_GL_RES_TYPE_RB] & (WINED3DFMT_FLAG_RENDERTARGET | WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL)"?