wined3d: Remove some needless initializations.
They're not needed, they are handled by the state management anyway.
This commit is contained in:
parent
4b268c79d7
commit
d707f018df
|
@ -839,12 +839,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
|
||||||
|
|
||||||
checkGLcall("glClear");
|
checkGLcall("glClear");
|
||||||
|
|
||||||
glColor3f(1.0, 1.0, 1.0);
|
|
||||||
checkGLcall("glColor3f");
|
|
||||||
|
|
||||||
glEnable(GL_LIGHTING);
|
|
||||||
checkGLcall("glEnable");
|
|
||||||
|
|
||||||
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);
|
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);
|
||||||
checkGLcall("glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);");
|
checkGLcall("glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue