From: Ted Jump Date: Fri, 17 Sep 1999 02:41:38 +0000 (+0000) Subject: Cleaned up exit from main to prevent MSVC warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d043adc8908f2137e9b5d0f010615e514b156656;p=mesa.git Cleaned up exit from main to prevent MSVC warnings --- diff --git a/progs/samples/overlay.c b/progs/samples/overlay.c index 41bbc26114e..0def2b1105e 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();