devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=077261689db5f50ea1cc686067ca0aa0c36cdd88

commit 077261689db5f50ea1cc686067ca0aa0c36cdd88
Author: Chris Michael <[email protected]>
Date:   Mon Dec 1 10:29:53 2014 -0500

    evas-gl: Fix improper #ifdef check
    
    Summary: We should be using #ifdef here, not #if
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/gl_common/evas_gl_3d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_3d.c 
b/src/modules/evas/engines/gl_common/evas_gl_3d.c
index fea918e..7df3244 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_3d.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_3d.c
@@ -437,7 +437,7 @@ e3d_drawable_new(int w, int h, int alpha, GLenum 
depth_format, GLenum stencil_fo
    glBindFramebuffer(GL_FRAMEBUFFER, fbo);
    glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 
tex, 0);
 
-#if GL_GLES
+#ifdef GL_GLES
    if (depth_format == GL_DEPTH_STENCIL_OES)
      {
         glGenTextures(1, &depth_stencil_buf);

-- 


Reply via email to