From d72c9b87b4489632268df701b657411b1a08bc63 Mon Sep 17 00:00:00 2001 From: Julianiolo <50519317+Julianiolo@users.noreply.github.com> Date: Sun, 30 May 2021 18:04:01 +0200 Subject: [PATCH] note --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index e84d82c49..24cf943a6 100644 --- a/src/core.c +++ b/src/core.c @@ -3543,7 +3543,7 @@ static bool InitGraphicsDevice(int width, int height) CORE.Window.display.width = mode->width; CORE.Window.display.height = mode->height; - // Screen size security check + // Set screen width/height to the display width/height if they are 0 if (CORE.Window.screen.width == 0) CORE.Window.screen.width = CORE.Window.display.width; if (CORE.Window.screen.height == 0) CORE.Window.screen.height = CORE.Window.display.height; #endif // PLATFORM_DESKTOP