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.
This commit is contained in:
Jean-Philippe Andre 2014-10-07 09:57:31 +09:00
parent c17cfbd13e
commit 25aaee99af
1 changed files with 1 additions and 0 deletions

View File

@ -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();