summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qeglproperties.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-02 11:36:43 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-02 11:36:54 (GMT)
commite403fd643f5b7cdd215689b566067c19cf70b4c3 (patch)
treeb43d23bf0cc7b93b1867efe4c2377d82137aed9f /src/gui/egl/qeglproperties.cpp
parent1d440cf00ded21432ca4be36bf5be60bbddf87d1 (diff)
parent016c06f8988c50f0f8309b1b5054ea99ecd1bc6c (diff)
downloadQt-e403fd643f5b7cdd215689b566067c19cf70b4c3.zip
Qt-e403fd643f5b7cdd215689b566067c19cf70b4c3.tar.gz
Qt-e403fd643f5b7cdd215689b566067c19cf70b4c3.tar.bz2
Merge origin/4.6 into team-widgets/4.6
Diffstat (limited to 'src/gui/egl/qeglproperties.cpp')
-rw-r--r--src/gui/egl/qeglproperties.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/egl/qeglproperties.cpp b/src/gui/egl/qeglproperties.cpp
index c61e1d3..2d37edb 100644
--- a/src/gui/egl/qeglproperties.cpp
+++ b/src/gui/egl/qeglproperties.cpp
@@ -88,8 +88,12 @@ int QEglProperties::value(int name) const
#if defined(EGL_ALPHA_MASK_SIZE)
case EGL_ALPHA_MASK_SIZE: return 0;
#endif
+#if defined(EGL_BIND_TO_TEXTURE_RGB)
case EGL_BIND_TO_TEXTURE_RGB: return EGL_DONT_CARE;
+#endif
+#if defined(EGL_BIND_TO_TEXTURE_RGBA)
case EGL_BIND_TO_TEXTURE_RGBA: return EGL_DONT_CARE;
+#endif
#if defined(EGL_COLOR_BUFFER_TYPE)
case EGL_COLOR_BUFFER_TYPE: return EGL_RGB_BUFFER;
#endif