mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-26 13:30:39 +01:00
Cleaned up exit from main to prevent MSVC warnings
This commit is contained in:
parent
83c02efa52
commit
d043adc890
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue