2008-02-15 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gles/cogl.c: (cogl_paint_init): Remove depth test getting turned on by default (unlike GL backend)
This commit is contained in:
parent
4e147c8843
commit
0264205ad1
@ -118,11 +118,7 @@ cogl_paint_init (const ClutterColor *color)
|
|||||||
glDisable (GL_LIGHTING);
|
glDisable (GL_LIGHTING);
|
||||||
glDisable (GL_FOG);
|
glDisable (GL_FOG);
|
||||||
|
|
||||||
glEnable (GL_DEPTH_TEST);
|
|
||||||
glDepthFunc (GL_LEQUAL);
|
|
||||||
|
|
||||||
cogl_enable (CGL_ENABLE_BLEND);
|
cogl_enable (CGL_ENABLE_BLEND);
|
||||||
|
|
||||||
glTexEnvx (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
|
glTexEnvx (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user