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:
Matthew Allum 2008-02-15 14:30:45 +00:00
parent fa7a114ce8
commit 97b9cd92f0
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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)
2008-02-15 Tomas Frydrych <tf@openedhand.com> 2008-02-15 Tomas Frydrych <tf@openedhand.com>
* configure.ac: * configure.ac:

View File

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