Code cleanup, return and exit conditions for Android
This commit is contained in:
parent
5056563f5d
commit
5fe9f91529
4 changed files with 29 additions and 13 deletions
|
|
@ -273,7 +273,9 @@ namespace vks
|
|||
vks::android::showAlert(message.c_str());
|
||||
#endif
|
||||
std::cerr << message << "\n";
|
||||
#if !defined(__ANDROID__)
|
||||
exit(exitCode);
|
||||
#endif
|
||||
}
|
||||
|
||||
void exitFatal(std::string message, VkResult resultCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue