Remove NO_ERROR flags on EGL, as we do on WGL and GLX

This commit is contained in:
baldurk
2019-05-01 17:25:15 +01:00
parent 2c44004f80
commit cce6800f00
+9
View File
@@ -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);
}