Fix GLContext::AssertExtensionsPresent not clearing the context after use
This commit is contained in:
@@ -281,6 +281,8 @@ void GLContext::AssertExtensionsPresent() {
|
|||||||
"OpenGL extension ARB_fragment_coord_conventions is required.");
|
"OpenGL extension ARB_fragment_coord_conventions is required.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ClearCurrent();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLContext::DebugMessage(GLenum source, GLenum type, GLuint id,
|
void GLContext::DebugMessage(GLenum source, GLenum type, GLuint id,
|
||||||
|
|||||||
Reference in New Issue
Block a user