diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-02-09 14:00:16 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-02-09 14:44:06 (GMT) |
commit | 5112afc9eeb546f27e2fa5d655418ee7c544b109 (patch) | |
tree | a11b2ca6cb550193969ba5f3956309f13b3c460e /src/plugins/platforms/eglconvenience/qeglconvenience.h | |
parent | cb742e70f0d2fb992d27045f6d3d9624bd10ced5 (diff) | |
download | Qt-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.h | 2 |
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); |