wined3d: Don't set FBO attachment filtering to GL_NEAREST.
commit9ed6dc91443561037c7dacd3f4a08faec7ab8bf7
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 27 May 2011 11:57:34 +0000 (27 13:57 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 27 Jun 2011 21:43:08 +0000 (27 16:43 -0500)
tree202c9f2e79e054f51777c1d87b862b7402e38b94
parent5cf0b44d06455cd2d725a5fe75b46c28cae8919e
wined3d: Don't set FBO attachment filtering to GL_NEAREST.

The min and mag filters should not have any effect when rendering to
textures. This code was once needed to work around a bug in the Nvidia
driver. Changing the texture filter states is expensive and makes it
harder to apply the FBO state only when needed.
dlls/wined3d/context.c