summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@digia.com>2013-01-15 13:06:42 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-28 13:15:51 (GMT)
commit33bbdb88216e72bcc3149f52e7a961609f5406a0 (patch)
tree9be06b6f9b2d77a8eddcdd365992bceea779313e /src/opengl
parent59842a292cd68495fb009824cc417d492d3ffeb8 (diff)
downloadQt-33bbdb88216e72bcc3149f52e7a961609f5406a0.zip
Qt-33bbdb88216e72bcc3149f52e7a961609f5406a0.tar.gz
Qt-33bbdb88216e72bcc3149f52e7a961609f5406a0.tar.bz2
Use correct variable type EGLint for EGL attributes
EGL property is type EGLint and is defined in eglplatform.h header as typedef khronos_int32_t EGLint; Change-Id: I3ace17447aa9a83655b6fa6b4246a6a16592936c Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl_qws.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_qws.cpp b/src/opengl/qgl_qws.cpp
index 4aeb95a..1da8a9d 100644
--- a/src/opengl/qgl_qws.cpp
+++ b/src/opengl/qgl_qws.cpp
@@ -149,7 +149,7 @@ static EGLSurface qt_egl_create_surface
}
// Create the EGL surface to draw into, based on the native drawable.
- const int *props;
+ const EGLint *props;
if (properties)
props = properties->properties();
else