summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_core.c')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_core.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c b/src/modules/evas/engines/gl_common/evas_gl_core.c
index ca37da49b8..d2078dd777 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -340,9 +340,13 @@ _fbo_surface_cap_test(GLint color_ifmt, GLenum color_fmt,
340 340
341 // Return the result 341 // Return the result
342 if (fb_status != GL_FRAMEBUFFER_COMPLETE) 342 if (fb_status != GL_FRAMEBUFFER_COMPLETE)
343 { 343 {
344 // Put Error Log... 344 int err = glGetError();
345 return 0; 345
346 if (err != GL_NO_ERROR)
347 DBG("glGetError() returns %x ", err);
348
349 return 0;
346 } 350 }
347 else 351 else
348 return 1; 352 return 1;