[PATCH v3 4/8] wined3d: Add a real implementation of wined3d_check_device_multisample_type().

Henri Verbeet hverbeet at gmail.com
Wed Jan 27 08:09:39 CST 2016


On 26 January 2016 at 22:51, Matteo Bruni <mbruni at 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)"?



More information about the wine-devel mailing list