mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-16 10:46:50 +00:00
Correctly share context in EGL replay mode
In case of EGL the replay context was not shared with the newly created context thus the replay was unable to display the resulting image.
This commit is contained in:
1 parent
8ff3ee93b5
commit
a1c2eee0dd
1 file changed
+1
-1
@@ -253,7 +253,7 @@ public:
|
||||
static const EGLint ctxAttribs[] = {EGL_CONTEXT_CLIENT_VERSION, 3, EGL_CONTEXT_FLAGS_KHR,
|
||||
EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR, EGL_NONE};
|
||||
|
||||
EGLContext ctx = eglCreateContext_real(eglDisplay, config, EGL_NO_CONTEXT, ctxAttribs);
|
||||
EGLContext ctx = eglCreateContext_real(eglDisplay, config, share_context.ctx, ctxAttribs);
|
||||
|
||||
if(ctx == NULL)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user