Qt: Fix build

This commit is contained in:
Vicki Pfau 2021-11-18 23:25:11 -08:00
parent 0086599290
commit cf5d85ac05
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ bool DisplayGL::supportsFormat(const QSurfaceFormat& format) {
return false;
}
#endif
s_supports[format] = context,hasExtension("GL_EXT_blend_color"); // Core as of 1.2
s_supports[format] = context.hasExtension("GL_EXT_blend_color"); // Core as of 1.2
context.doneCurrent();
} else if (!context.isOpenGLES() && format.version() >= qMakePair(2, 1) && foundVersion < qMakePair(3, 0) && foundVersion >= qMakePair(2, 1)) {
// Weird edge case we support if ARB_framebuffer_object is present