Преглед изворни кода

Remove unneeded line on web platform

Ray пре 1 година
родитељ
комит
3c3e311190
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      src/platforms/rcore_web.c

+ 0 - 1
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