summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-11-02 18:18:05 +0100
committerRay <[email protected]>2023-11-02 18:18:05 +0100
commit3c3e311190215451f31b7ea868f7950a8bed909f (patch)
treed6f66f43004008e2c8b914c0b5a4c6a1794a9039 /src
parent807516a991deef0eae23980b9a829721028ab8c8 (diff)
downloadraylib-3c3e311190215451f31b7ea868f7950a8bed909f.tar.gz
raylib-3c3e311190215451f31b7ea868f7950a8bed909f.zip
Remove unneeded line on web platform
Diffstat (limited to 'src')
-rw-r--r--src/platforms/rcore_web.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c
index 23361618..1fe4d584 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