diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-06-27 12:49:02 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-06-27 12:49:02 +0100 |
commit | c87689f191ddae088237866d68ff9d2db71d1102 (patch) | |
tree | e8c3c1b40f3afbfa183b482e6a2cd4128ac32df8 /retrace/glws_egl_xlib.cpp | |
parent | e01aa3bc8a84cf122187de5d16aad2c8772949e3 (diff) |
glws: Ensure context is initialized the first time it is made current.
Diffstat (limited to 'retrace/glws_egl_xlib.cpp')
-rw-r--r-- | retrace/glws_egl_xlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retrace/glws_egl_xlib.cpp b/retrace/glws_egl_xlib.cpp index cede7c6d..410e5ec3 100644 --- a/retrace/glws_egl_xlib.cpp +++ b/retrace/glws_egl_xlib.cpp @@ -469,7 +469,7 @@ createContext(const Visual *_visual, Context *shareContext, bool debug) } bool -makeCurrent(Drawable *drawable, Context *context) +makeCurrentInternal(Drawable *drawable, Context *context) { if (!drawable || !context) { return eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); |