summaryrefslogtreecommitdiffstats
path: root/src/gui/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/egl')
-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];