projects
/
platform
/
upstream
/
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
41bbc26
..
0def2b1
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();