Stefan Dösinger : wined3d: Remove some needless initializations.
Alexandre Julliard
julliard at winehq.org
Tue Dec 16 08:40:53 CST 2008
Module: wine
Branch: master
Commit: d707f018df2f1cf9b7cda0441eb910ecbc0e3b2e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d707f018df2f1cf9b7cda0441eb910ecbc0e3b2e
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Mon Dec 15 15:47:07 2008 +0100
wined3d: Remove some needless initializations.
They're not needed, they are handled by the state management anyway.
---
dlls/wined3d/context.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index a34f877..3b5000c 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -839,12 +839,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
checkGLcall("glClear");
- glColor3f(1.0, 1.0, 1.0);
- checkGLcall("glColor3f");
-
- glEnable(GL_LIGHTING);
- checkGLcall("glEnable");
-
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);
checkGLcall("glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);");
More information about the wine-cvs
mailing list