Rewrote assertions

This commit is contained in:
2023-11-01 21:48:10 -05:00
parent ab1d39aa57
commit c5cfc31436
12 changed files with 146 additions and 133 deletions

View File

@ -53,6 +53,6 @@ void assertNotGLErrorCheck(const char *file, int32_t line) {
if(errorCount != 0) {
error += "\n" + std::string(file) + " (" + std::to_string(line) + ")";
assertUnreachable(error);
assertUnreachable(error.c_str());
}
}