Cleaned up exit from main to prevent MSVC warnings

This commit is contained in:
Ted Jump 1999-09-17 02:41:38 +00:00
parent 83c02efa52
commit d043adc890

View file

@ -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();