mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-12 13:28:49 +00:00
Update rcore.c
This commit is contained in:
@@ -679,6 +679,9 @@ void InitWindow(int width, int height, const char *title)
|
||||
// Initialize window data
|
||||
CORE.Window.screen.width = width;
|
||||
CORE.Window.screen.height = height;
|
||||
CORE.Window.currentFbo.width = CORE.Window.screen.width;
|
||||
CORE.Window.currentFbo.height = CORE.Window.screen.height;
|
||||
|
||||
CORE.Window.eventWaiting = false;
|
||||
CORE.Window.screenScale = MatrixIdentity(); // No draw scaling required by default
|
||||
if ((title != NULL) && (title[0] != 0)) CORE.Window.title = title;
|
||||
@@ -696,7 +699,7 @@ void InitWindow(int width, int height, const char *title)
|
||||
|
||||
if (result != 0)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "SYSTEM: Failed to initialize Platform");
|
||||
TRACELOG(LOG_WARNING, "SYSTEM: Failed to initialize platform");
|
||||
return;
|
||||
}
|
||||
//--------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user