(GLint*) casts in glGetIntegerv calls
This commit is contained in:
@@ -238,8 +238,8 @@ Init( GLboolean ciMode )
|
|||||||
|
|
||||||
#ifdef GL_OES_read_format
|
#ifdef GL_OES_read_format
|
||||||
if ( glutExtensionSupported( "GL_OES_read_format" ) ) {
|
if ( glutExtensionSupported( "GL_OES_read_format" ) ) {
|
||||||
glGetIntegerv( GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, & ReadType );
|
glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, (GLint *) &ReadType);
|
||||||
glGetIntegerv( GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, & ReadFormat );
|
glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, (GLint *) &ReadFormat);
|
||||||
|
|
||||||
have_read_format = GL_TRUE;
|
have_read_format = GL_TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user