Update rcore.c

This commit is contained in:
SuperUserNameMan 2024-07-16 15:32:34 +02:00 committed by GitHub
parent 276a74b534
commit 0ae7b0fb91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -631,10 +631,10 @@ void InitWindow(int width, int height, const char *title)
// Initialize platform
//--------------------------------------------------------------
if ( InitPlatform() != 0 )
int result = InitPlatform();
if (result == -1 )
{
TRACELOG(LOG_ERROR, "Platform backend: Window initialization failed.");
CORE.Window.ready = false;
return;
}
//--------------------------------------------------------------