[PATCH 2/4] wined3d: Add support for the NULL format.
hverbeet at gmail.com
Tue Jan 25 05:33:59 CST 2011
On 25 January 2011 11:17, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Am 24.01.2011 um 18:41 schrieb Henri Verbeet:
>> - if (surface)
>> + if (surface && surface->resource.format->id != WINED3DFMT_NULL)
> Doesn't this cause GL errors? In my testing I had to set the draw buffer to GL_NONE to be able to draw without a color attachment.
You're probably right, although it worked fine when I tested it,
probably by chance. Please ignore this patch for now.
More information about the wine-devel