summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-01-31 10:52:18 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-06 13:11:56 (GMT)
commit1fd9b8856cba6e2d3252efabc0f2c1217b1a35eb (patch)
tree3039fbbd9aaaba4168a8250dc73ac692bf2a2054
parentc8c403375f92d86995aa114abd674e71ae5bd9b3 (diff)
downloadQt-1fd9b8856cba6e2d3252efabc0f2c1217b1a35eb.zip
Qt-1fd9b8856cba6e2d3252efabc0f2c1217b1a35eb.tar.gz
Qt-1fd9b8856cba6e2d3252efabc0f2c1217b1a35eb.tar.bz2
Actually use EGLint - EGLconst does not exist.
This fixes a build error introduced by commit with change id: I3ace17447aa9a83655b6fa6b4246a6a16592936c and git hash 33bbdb88216e72bcc3149f52e7a961609f5406a0. Change-Id: I548866c1e0958811f66bc4b5d7f048822e59274c Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@digia.com>
-rw-r--r--src/gui/egl/qeglproperties_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qeglproperties_p.h b/src/gui/egl/qeglproperties_p.h
index a57c11f..a69c6a0 100644
--- a/src/gui/egl/qeglproperties_p.h
+++ b/src/gui/egl/qeglproperties_p.h
@@ -76,7 +76,7 @@ public:
bool removeValue(int name);
bool isEmpty() const { return props[0] == EGL_NONE; }
- EGLconst int *properties() const { return props.constData(); }
+ const EGLint *properties() const { return props.constData(); }
void setPixelFormat(QImage::Format pixelFormat);
#ifdef Q_WS_X11