mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 12:51:03 +00:00
Remove NO_ERROR flags on EGL, as we do on WGL and GLX
This commit is contained in:
@@ -186,9 +186,18 @@ HOOK_EXPORT EGLContext EGLAPIENTRY eglCreateContext_renderdoc_hooked(EGLDisplay
|
||||
else
|
||||
value &= ~EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR;
|
||||
|
||||
// remove NO_ERROR bit
|
||||
value &= ~GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR;
|
||||
|
||||
flagsFound = true;
|
||||
}
|
||||
|
||||
if(name == EGL_CONTEXT_OPENGL_NO_ERROR_KHR)
|
||||
{
|
||||
// remove this attribute so that we can be more stable
|
||||
continue;
|
||||
}
|
||||
|
||||
attribs.push_back(name);
|
||||
attribs.push_back(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user