Stefan Dösinger : wined3d: Do not enable GL_TEXTURE_SHADER_NV unconditionally.
Alexandre Julliard
julliard at winehq.org
Mon Jul 28 08:07:20 CDT 2008
Module: wine
Branch: master
Commit: 40cfec2582f074a1524b906898b9263130518fd7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=40cfec2582f074a1524b906898b9263130518fd7
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Jul 24 10:05:25 2008 -0500
wined3d: Do not enable GL_TEXTURE_SHADER_NV unconditionally.
---
dlls/wined3d/context.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index ca81f3a..bb354f6 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -538,9 +538,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
checkGLcall("glEnable(GL_WEIGHT_SUM_UNITY_ARB)");
}
if(GL_SUPPORT(NV_TEXTURE_SHADER2)) {
- glEnable(GL_TEXTURE_SHADER_NV);
- checkGLcall("glEnable(GL_TEXTURE_SHADER_NV)");
-
/* Set up the previous texture input for all shader units. This applies to bump mapping, and in d3d
* the previous texture where to source the offset from is always unit - 1.
*/
More information about the wine-cvs
mailing list