From 4fe34f340c15199a7bf209743f677b79cfad240d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 26 Nov 2004 13:43:17 +0000 Subject: [PATCH] (GLint*) casts in glGetIntegerv calls --- progs/demos/readpix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2