wined3d: Remove some needless initializations.

They're not needed, they are handled by the state management anyway.
This commit is contained in:
Stefan Dösinger 2008-12-15 15:47:07 +01:00 committed by Alexandre Julliard
parent 4b268c79d7
commit d707f018df
1 changed files with 0 additions and 6 deletions

View File

@ -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);");