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
fa7a114ce8
commit
97b9cd92f0
@ -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:
|
||||||
|
@ -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