summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglconvenience/qeglconvenience.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-02-09 14:00:16 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-02-09 14:44:06 (GMT)
commit5112afc9eeb546f27e2fa5d655418ee7c544b109 (patch)
treea11b2ca6cb550193969ba5f3956309f13b3c460e /src/plugins/platforms/eglconvenience/qeglconvenience.h
parentcb742e70f0d2fb992d27045f6d3d9624bd10ced5 (diff)
downloadQt-5112afc9eeb546f27e2fa5d655418ee7c544b109.zip
Qt-5112afc9eeb546f27e2fa5d655418ee7c544b109.tar.gz
Qt-5112afc9eeb546f27e2fa5d655418ee7c544b109.tar.bz2
Add highest pixel format option to q_configFromQPlatformWindowFormat
The default is still the old behavior
Diffstat (limited to 'src/plugins/platforms/eglconvenience/qeglconvenience.h')
-rw-r--r--src/plugins/platforms/eglconvenience/qeglconvenience.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.h b/src/plugins/platforms/eglconvenience/qeglconvenience.h
index 98c30b8..a1df3cc 100644
--- a/src/plugins/platforms/eglconvenience/qeglconvenience.h
+++ b/src/plugins/platforms/eglconvenience/qeglconvenience.h
@@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
QVector<EGLint> q_createConfigAttributesFromFormat(const QPlatformWindowFormat &format);
bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes);
-EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QPlatformWindowFormat &format);
+EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QPlatformWindowFormat &format, bool highestPixelFormat = false);
QPlatformWindowFormat qt_qPlatformWindowFormatFromConfig(EGLDisplay display, const EGLConfig config);
bool q_hasEglExtension(EGLDisplay display,const char* extensionName);