projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206eb50
)
tests/texcmp: glewInit in wrong place
author
Dave Airlie
<airlied@redhat.com>
Thu, 3 Sep 2009 01:33:53 +0000
(11:33 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 3 Sep 2009 01:33:53 +0000
(11:33 +1000)
progs/tests/texcmp.c
patch
|
blob
|
history
diff --git
a/progs/tests/texcmp.c
b/progs/tests/texcmp.c
index 52c504a31880d3dac72dc573fb598d248c403d99..d1e829d1b73670eb3ea053552c1395ebc258bd68 100644
(file)
--- a/
progs/tests/texcmp.c
+++ b/
progs/tests/texcmp.c
@@
-371,11
+371,11
@@
int main( int argc, char *argv[] )
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
if (glutCreateWindow(argv[0]) <= 0) {
- glewInit();
printf("Couldn't create window\n");
exit(0);
}
+ glewInit();
gl_version = atof( (const char *) glGetString( GL_VERSION ) );
if ( (gl_version < 1.3)
&& !glutExtensionSupported("GL_ARB_texture_compression") ) {