mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +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:
committed by
Baldur Karlsson
parent
8ff3ee93b5
commit
a1c2eee0dd
@@ -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