mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Reset GLES status to false when loading a proper GL capture
* This prevents us from acting like we're on a GLES context if we had previously loaded a GLES capture.
This commit is contained in:
@@ -442,6 +442,10 @@ void FetchEnabledExtensions()
|
||||
int mn = int(version[12] - '0');
|
||||
GLCoreVersion = RDCMAX(GLCoreVersion, mj * 10 + mn);
|
||||
}
|
||||
else
|
||||
{
|
||||
IsGLES = false;
|
||||
}
|
||||
}
|
||||
|
||||
if(GL.glGetIntegerv)
|
||||
|
||||
Reference in New Issue
Block a user