wined3d: Set the read buffer to GL_NONE in surface_load_ds_location().
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 2 Aug 2011 19:42:13 +0000 (21:42 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Aug 2011 07:23:08 +0000 (09:23 +0200)
commite4efcea2232254b2cf1ad0a7de7c90f1c3ae8df2
tree5ffbcaf5b57f82630be79a3eb4ac6c46b46c5dee
parent5622f8f782d3d3df2e1c733522bd467769eca62c
wined3d: Set the read buffer to GL_NONE in surface_load_ds_location().

On GL implementations that don't support GL_ARB_ES2_compatibility the
framebuffer's read buffer has to be valid, even if we're not reading from it.
dlls/wined3d/surface.c