projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b76072
)
demos: move glewInit() call, fixes crash/bug 21247
author
Brian Paul
<brianp@vmware.com>
Fri, 17 Apr 2009 15:15:58 +0000
(09:15 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Apr 2009 15:16:48 +0000
(09:16 -0600)
progs/tests/vparray.c
patch
|
blob
|
history
diff --git
a/progs/tests/vparray.c
b/progs/tests/vparray.c
index 9c2fad97d9d90012ddcd960263aac149dac3e21c..af9b62d33e6b5a23e46ff59df4b930ba76a7fa61 100644
(file)
--- a/
progs/tests/vparray.c
+++ b/
progs/tests/vparray.c
@@
-280,9
+280,9
@@
int main(int argc, char **argv)
glutInitWindowPosition(0, 0);
glutInitWindowSize(400, 400);
if (glutCreateWindow("Isosurface") <= 0) {
- glewInit();
exit(0);
}
+ glewInit();
glutReshapeFunc(Reshape);
glutKeyboardFunc(Key);
glutSpecialFunc(SpecialKey);