-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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.
On 25 January 2011 11:17, Stefan Dösinger stefandoesinger@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.