devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9599007a688fe5c1cc67148de23b48f43836cd30

commit 9599007a688fe5c1cc67148de23b48f43836cd30
Author: Chris Michael <[email protected]>
Date:   Wed Oct 29 12:07:48 2014 -0400

    evas-gl-x11: Don't call gl_common_error_set if MakeContextCurrent fails
    
    Summary: glsym_evas_gl_common_error_set used here leads to an implicit
    declaration in compiler warnings. Remove the call to that function and
    just print out an error message. This is a cleanup function anyway.
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/gl_x11/evas_x_main.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_x11/evas_x_main.c 
b/src/modules/evas/engines/gl_x11/evas_x_main.c
index 9596b6a..1fe24e6 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -476,10 +476,7 @@ eng_window_free(Outbuf *gw)
      }
 #else
    if (!__glXMakeContextCurrent(gw->disp, 0, gw->context))
-     {
-        ERR("glXMakeContextCurrent() failed!");
-        glsym_evas_gl_common_error_set(data, EVAS_GL_BAD_DISPLAY);
-     }
+     ERR("glXMakeContextCurrent() failed!");
    glXDestroyWindow(gw->disp, gw->glxwin);
    if (ref == 0)
      {

-- 


Reply via email to