projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59651a0
)
(GLint*) casts in glGetIntegerv calls
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 26 Nov 2004 13:43:17 +0000
(13:43 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 26 Nov 2004 13:43:17 +0000
(13:43 +0000)
progs/demos/readpix.c
patch
|
blob
|
history
diff --git
a/progs/demos/readpix.c
b/progs/demos/readpix.c
index fc322f2e81124a09bef870fd09f489aa2c26c6f7..b36e3d1e643e997a11e2d8abf666228d07e230dd 100644
(file)
--- 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;
}