wined3d: Avoid hooking non-fog glEnable/glDisable calls.
commit365e1f3b075a044328784d12a3a992dc493e8d71
authorStefan Dösinger <stefan@codeweavers.com>
Mon, 15 Dec 2008 18:38:48 +0000 (15 19:38 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 Jan 2009 12:03:47 +0000 (12 13:03 +0100)
treec14bf612ac42fdc6d5a82f11b596a5e8d71db614
parent1deafcb5a758ba7c88e498718a3186d6b526fe71
wined3d: Avoid hooking non-fog glEnable/glDisable calls.

This prevents fallout from the GL_EXT_fog_coord emulation. glEnable
and glDisable calls other than those that change GL_FOG are not
hooked. The glEnableWINE and glDisableWINE functions can be used to
add other hooks too if ever needed.
dlls/wined3d/context.c
dlls/wined3d/directx.c
dlls/wined3d/gl_compat.c
dlls/wined3d/state.c
dlls/wined3d/wined3d_gl.h