summaryrefslogtreecommitdiffstats
path: root/progs/demos
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-26 13:43:17 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-26 13:43:17 +0000
commit4fe34f340c15199a7bf209743f677b79cfad240d (patch)
tree769d95fcbf6666db38e3103af1d6bea3aee97090 /progs/demos
parent59651a076dfc6ca16e4141907954e8aacfd946df (diff)
downloadexternal_mesa3d-4fe34f340c15199a7bf209743f677b79cfad240d.zip
external_mesa3d-4fe34f340c15199a7bf209743f677b79cfad240d.tar.gz
external_mesa3d-4fe34f340c15199a7bf209743f677b79cfad240d.tar.bz2
(GLint*) casts in glGetIntegerv calls
Diffstat (limited to 'progs/demos')
-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 fc322f2..b36e3d1 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;
}