Rewrote assertions
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user