From 0264205ad144fe1928c9fec67ce022b48f2ea992 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Fri, 15 Feb 2008 14:30:45 +0000 Subject: [PATCH] 2008-02-15 Matthew Allum * clutter/cogl/gles/cogl.c: (cogl_paint_init): Remove depth test getting turned on by default (unlike GL backend) --- gles/cogl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gles/cogl.c b/gles/cogl.c index c80547fe5..aea9c22fd 100644 --- a/gles/cogl.c +++ b/gles/cogl.c @@ -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); }