summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/readpix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/readpix.c b/progs/demos/readpix.c
index fc322f2e81..b36e3d1e64 100644
--- a/progs/demos/readpix.c
+++ b/progs/demos/readpix.c
@@ -238,8 +238,8 @@ Init( GLboolean ciMode )
#ifdef GL_OES_read_format
if ( glutExtensionSupported( "GL_OES_read_format" ) ) {
- glGetIntegerv( GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, & ReadType );
- glGetIntegerv( GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, & ReadFormat );
+ glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, (GLint *) &ReadType);
+ glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, (GLint *) &ReadFormat);
have_read_format = GL_TRUE;
}