mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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_FOG);
|
||||
|
||||
glEnable (GL_DEPTH_TEST);
|
||||
glDepthFunc (GL_LEQUAL);
|
||||
|
||||
cogl_enable (CGL_ENABLE_BLEND);
|
||||
|
||||
glTexEnvx (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user