mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 06:28:24 +02:00
[SDL2] pointer boolean (#8523)
This commit is contained in:
@@ -106,7 +106,7 @@ int main(int argc, char *argv[])
|
||||
SDL_AtomicSet(&doterminate, 0);
|
||||
|
||||
mutex = SDL_CreateMutex();
|
||||
if (mutex == NULL) {
|
||||
if (!mutex) {
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't create mutex: %s\n", SDL_GetError());
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user