jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=25aaee99af56c11865febf0c71b96ddc94c41836

commit 25aaee99af56c11865febf0c71b96ddc94c41836
Author: Jean-Philippe Andre <[email protected]>
Date:   Tue Oct 7 09:57:31 2014 +0900

    Evas GL: Fix gl_x11/GLX engine
    
    Forgot to set the TLS value after creating a new context.
    No problem would show up in most cases, even in my test app.
    But elementary_test GLView would just not work at all, spitting
    incomplete FBO errors at me. Damn this one line was hard to find.
    
    But introduced in df66916cd22ec6c4.
---
 src/modules/evas/engines/gl_x11/evas_x_main.c | 1 +
 1 file changed, 1 insertion(+)

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 7530f1d..8177460 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -293,6 +293,7 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info,
         else
           context = glXCreateContext(gw->disp, gw->visualinfo, NULL, GL_TRUE);
 #endif
+        _tls_context_set(context);
      }
 #ifdef NEWGL
    rgbactx = _tls_rgba_context_get();

-- 


Reply via email to