summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qglpixelbuffer_egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglpixelbuffer_egl.cpp b/src/opengl/qglpixelbuffer_egl.cpp
index a501c475a4..b2f16c1390 100644
--- a/src/opengl/qglpixelbuffer_egl.cpp
+++ b/src/opengl/qglpixelbuffer_egl.cpp
@@ -209,7 +209,7 @@ bool QGLPixelBuffer::hasOpenGLPbuffers()
QEglProperties configProps;
qt_egl_set_format(configProps, QInternal::Pbuffer, QGLFormat::defaultFormat());
configProps.setRenderableType(QEglContext::OpenGL);
- return ctx.chooseConfig(configProps);
+ return ctx.chooseConfig(configProps, QEglContext::BestPixelFormat);
}
QT_END_NAMESPACE