diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-31 15:47:02 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-31 15:57:03 +0200 |
commit | d0beb0d95b63c230e965cf151a39ac6e7b779ae9 (patch) | |
tree | 4dc437b0c75684e9ea6a22277953f3ba5ca661d2 /src/plugins/platforms/eglconvenience | |
parent | 9bd270f64d2eb481130663c4035f4097857c89c3 (diff) |
Fix the egl path for xcb and wayland plugins
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/plugins/platforms/eglconvenience')
-rw-r--r-- | src/plugins/platforms/eglconvenience/qeglconvenience.cpp | 2 | ||||
-rw-r--r-- | src/plugins/platforms/eglconvenience/qeglconvenience.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.cpp b/src/plugins/platforms/eglconvenience/qeglconvenience.cpp index fdfc19b0c1..333425632c 100644 --- a/src/plugins/platforms/eglconvenience/qeglconvenience.cpp +++ b/src/plugins/platforms/eglconvenience/qeglconvenience.cpp @@ -195,7 +195,7 @@ bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes) return false; } -EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QWindowFormat &format, bool highestPixelFormat, int surfaceType) +EGLConfig q_configFromQWindowFormat(EGLDisplay display, const QWindowFormat &format, bool highestPixelFormat, int surfaceType) { EGLConfig cfg = 0; QVector<EGLint> configureAttributes = q_createConfigAttributesFromFormat(format); diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.h b/src/plugins/platforms/eglconvenience/qeglconvenience.h index dc15de8153..978cab4925 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 QWindowFormat &format); bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes); -EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QWindowFormat &format, bool highestPixelFormat = false, int surfaceType = EGL_WINDOW_BIT); +EGLConfig q_configFromQWindowFormat(EGLDisplay display, const QWindowFormat &format, bool highestPixelFormat = false, int surfaceType = EGL_WINDOW_BIT); QWindowFormat q_windowFormatFromConfig(EGLDisplay display, const EGLConfig config); bool q_hasEglExtension(EGLDisplay display,const char* extensionName); |