projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c02ef
)
Cleaned up exit from main to prevent MSVC warnings
author
Ted Jump
<tjump@users.sourceforge.net>
Fri, 17 Sep 1999 02:41:38 +0000
(
02:41
+0000)
committer
Ted Jump
<tjump@users.sourceforge.net>
Fri, 17 Sep 1999 02:41:38 +0000
(
02:41
+0000)
progs/samples/overlay.c
patch
|
blob
|
history
diff --git
a/progs/samples/overlay.c
b/progs/samples/overlay.c
index 41bbc26114ee371f4749eaafd96c44a764324cf7..0def2b1105e0ece1f8608b3aa00dde969fb02a48 100644
(file)
--- 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();