projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d0e0c
)
demos: move glewInit() after glutCreateWindow()
author
Brian Paul
<brianp@vmware.com>
Fri, 17 Apr 2009 14:09:17 +0000
(08:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Apr 2009 14:11:00 +0000
(08:11 -0600)
Fixes segfault. See bug 21239. However, the demo doesn't render
properly. Probably a bug in the GL_ATI_fragment_shader code.
progs/tests/afsmultiarb.c
patch
|
blob
|
history
diff --git
a/progs/tests/afsmultiarb.c
b/progs/tests/afsmultiarb.c
index 162ab19493c64a4f4255aaa1b0ec5aa373a031c1..ca25a4d75bf085880a57fb57e45eeaeb36c14d39 100644
(file)
--- a/
progs/tests/afsmultiarb.c
+++ b/
progs/tests/afsmultiarb.c
@@
-442,8
+442,8
@@
int main( int argc, char *argv[] )
glutInitWindowSize( 300, 300 );
glutInitWindowPosition( 0, 0 );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
- glewInit();
glutCreateWindow(argv[0] );
+ glewInit();
Init( argc, argv );