diff options
Diffstat (limited to 'progs/samples/overlay.c')
-rw-r--r-- | progs/samples/overlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/samples/overlay.c b/progs/samples/overlay.c index 41bbc26114..0def2b1105 100644 --- a/progs/samples/overlay.c +++ b/progs/samples/overlay.c @@ -351,7 +351,7 @@ int main(int argc, char **argv) } if (Args(argc, argv) == GL_FALSE) { - exit(1); + return(1); } windW = 300; @@ -363,7 +363,7 @@ int main(int argc, char **argv) glutInitDisplayMode(type); if (glutCreateWindow("Overlay Test") == GL_FALSE) { - exit(1); + return(1); } glutEstablishOverlay(); |