done need egl errors there.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 17 Feb 2010 07:34:22 +0000 (07:34 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 17 Feb 2010 07:34:22 +0000 (07:34 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@46241 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_engine.c

index 3fd8b8e..14291a4 100644 (file)
@@ -417,10 +417,10 @@ eng_output_redraws_next_update_push(void *data, void *surface __UNUSED__, int x
    // this is needed to make sure all previous rendering is flushed to
    // buffers/surfaces
    eglWaitNative(EGL_CORE_NATIVE_ENGINE); // previous rendering should be done and swapped
-   if (eglGetError() != EGL_SUCCESS)
-     {
-        printf("Error:  eglWaitNative(EGL_CORE_NATIVE_ENGINE) fail.\n");
-     }
+//   if (eglGetError() != EGL_SUCCESS)
+//     {
+//        printf("Error:  eglWaitNative(EGL_CORE_NATIVE_ENGINE) fail.\n");
+//     }
 #else
    glXWaitGL();
 #endif
@@ -440,10 +440,10 @@ eng_output_flush(void *data)
 
 #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
    eglSwapBuffers(re->win->egl_disp, re->win->egl_surface[0]);
-   if (eglGetError() != EGL_SUCCESS)
-     {
-        printf("Error:  eglSwapBuffers() fail.\n");
-     }
+//   if (eglGetError() != EGL_SUCCESS)
+//     {
+//        printf("Error:  eglSwapBuffers() fail.\n");
+//     }
 #else
 #ifdef VSYNC_TO_SCREEN   
    if ((re->info->vsync)/* || (1)*/)