mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 03:28:09 +02:00
(GLint*) casts in glGetIntegerv calls
This commit is contained in:
parent
59651a076d
commit
4fe34f340c
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue