From 3c3e311190215451f31b7ea868f7950a8bed909f Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 2 Nov 2023 18:18:05 +0100 Subject: [PATCH] Remove unneeded line on web platform --- src/platforms/rcore_web.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c index 233616182..1fe4d5841 100644 --- a/src/platforms/rcore_web.c +++ b/src/platforms/rcore_web.c @@ -896,7 +896,6 @@ int InitPlatform(void) // If graphic device is no properly initialized, we end program if (!CORE.Window.ready) { TRACELOG(LOG_FATAL, "PLATFORM: Failed to initialize graphic device"); return -1; } - else SetWindowPosition(GetMonitorWidth(GetCurrentMonitor())/2 - CORE.Window.screen.width/2, GetMonitorHeight(GetCurrentMonitor())/2 - CORE.Window.screen.height/2); // Load OpenGL extensions // NOTE: GL procedures address loader is required to load extensions