diff options
author | Ted Jump <tjump@users.sourceforge.net> | 1999-09-17 02:41:38 +0000 |
---|---|---|
committer | Ted Jump <tjump@users.sourceforge.net> | 1999-09-17 02:41:38 +0000 |
commit | d043adc8908f2137e9b5d0f010615e514b156656 (patch) | |
tree | ab93cda5dcbf61c8b0474a83bbe627cad958e675 /progs/samples | |
parent | 83c02efa520eb2f8b3f5430be47bcd9c9749b30f (diff) |
Cleaned up exit from main to prevent MSVC warnings
Diffstat (limited to 'progs/samples')
-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(); |