mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-27 01:17:09 +00:00
Avoid causing a gl error on startup on core contexts.
This commit is contained in:
parent
481134bfe9
commit
1eec30dac2
@ -41,7 +41,9 @@ void GLQueueRunner::CreateDeviceObjects() {
|
||||
populate(GL_RENDERER);
|
||||
populate(GL_VERSION);
|
||||
populate(GL_SHADING_LANGUAGE_VERSION);
|
||||
populate(GL_EXTENSIONS); // TODO: Not OK to query this in core profile!
|
||||
if (!gl_extensions.IsCoreContext) { // Not OK to query this in core profile!
|
||||
populate(GL_EXTENSIONS);
|
||||
}
|
||||
}
|
||||
|
||||
void GLQueueRunner::DestroyDeviceObjects() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user