From: Brian Paul Date: Fri, 26 Nov 2004 13:43:17 +0000 (+0000) Subject: (GLint*) casts in glGetIntegerv calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fe34f340c15199a7bf209743f677b79cfad240d;p=mesa.git (GLint*) casts in glGetIntegerv calls --- diff --git a/progs/demos/readpix.c b/progs/demos/readpix.c index fc322f2e811..b36e3d1e643 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; }