summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qeglproperties.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-10-14 14:51:20 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-10-14 14:51:20 (GMT)
commit1c313a529ff0893c43c3ccaabe92c4e015acf891 (patch)
tree4e9b735c04e6579763474dd844eef13a8985ac64 /src/gui/egl/qeglproperties.cpp
parent7750f3821c7cd526c33bfa09378378da3980a2e6 (diff)
parent81bc22dbd71e2dd0e25156e753afc6d94d808de9 (diff)
downloadQt-1c313a529ff0893c43c3ccaabe92c4e015acf891.zip
Qt-1c313a529ff0893c43c3ccaabe92c4e015acf891.tar.gz
Qt-1c313a529ff0893c43c3ccaabe92c4e015acf891.tar.bz2
Merge branch '4.6' into lighthouse
Conflicts: src/gui/kernel/qapplication.cpp src/gui/kernel/qwidget.cpp
Diffstat (limited to 'src/gui/egl/qeglproperties.cpp')
-rw-r--r--src/gui/egl/qeglproperties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/egl/qeglproperties.cpp b/src/gui/egl/qeglproperties.cpp
index 02ae729..c61e1d3 100644
--- a/src/gui/egl/qeglproperties.cpp
+++ b/src/gui/egl/qeglproperties.cpp
@@ -313,7 +313,7 @@ QString QEglProperties::toString() const
int alpha = value(EGL_ALPHA_SIZE);
int bufferSize = value(EGL_BUFFER_SIZE);
if (bufferSize == (red + green + blue + alpha))
- bufferSize = EGL_DONT_CARE;
+ bufferSize = 0;
str += QLatin1String(" rgba=");
str += QString::number(red);
str += QLatin1Char(',');
@@ -322,7 +322,7 @@ QString QEglProperties::toString() const
str += QString::number(blue);
str += QLatin1Char(',');
str += QString::number(alpha);
- if (bufferSize != EGL_DONT_CARE) {
+ if (bufferSize != 0) {
// Only report buffer size if different than r+g+b+a.
str += QLatin1String(" buffer-size=");
str += QString::number(bufferSize);