summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-07-01 14:22:59 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-07-01 14:27:50 (GMT)
commit401bfd7dd1f2fd4fbcea49206b3f8c6febc545ea (patch)
treeb37efff93421c3d2adb8d0f1042f12d8da69b96b
parent2113140dc2a6a2e5b4f5ce62a678192907adcca1 (diff)
downloadQt-401bfd7dd1f2fd4fbcea49206b3f8c6febc545ea.zip
Qt-401bfd7dd1f2fd4fbcea49206b3f8c6febc545ea.tar.gz
Qt-401bfd7dd1f2fd4fbcea49206b3f8c6febc545ea.tar.bz2
Fixed compilation on Symbian.
Use EGLint, not GLint here, as GLint might not be defined. Reviewed-by: Shane Kearns
-rw-r--r--src/gui/egl/qegl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/egl/qegl.cpp b/src/gui/egl/qegl.cpp
index 3e2049c..605b1e6 100644
--- a/src/gui/egl/qegl.cpp
+++ b/src/gui/egl/qegl.cpp
@@ -517,12 +517,12 @@ bool QEglContext::swapBuffers(EGLSurface surface)
bool QEglContext::swapBuffersRegion2NOK(EGLSurface surface, const QRegion *region) {
QVector<QRect> qrects = region->rects();
- GLint *gl_rects;
+ EGLint *gl_rects;
uint count;
uint i;
count = qrects.size();
- QVarLengthArray <GLint> arr(4 * count);
+ QVarLengthArray <EGLint> arr(4 * count);
gl_rects = arr.data();
for (i = 0; i < count; i++) {
QRect qrect = qrects[i];