evas-gl: Fix improper #ifdef check
authorChris Michael <cp.michael@samsung.com>
Mon, 1 Dec 2014 15:29:53 +0000 (10:29 -0500)
committerChris Michael <cp.michael@samsung.com>
Mon, 1 Dec 2014 15:29:53 +0000 (10:29 -0500)
Summary: We should be using #ifdef here, not #if

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/gl_common/evas_gl_3d.c

index fea918e..7df3244 100644 (file)
@@ -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);