summaryrefslogtreecommitdiff
path: root/progs/tests/vparray.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/vparray.c')
-rw-r--r--progs/tests/vparray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/vparray.c b/progs/tests/vparray.c
index 9c2fad97d9..af9b62d33e 100644
--- 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);