瀏覽代碼

Avoid centering mouse when program launches

pull/2926/head
Ray 2 年之前
父節點
當前提交
beb44f1dac
共有 1 個檔案被更改,包括 0 行新增2 行删除
  1. +0
    -2
      src/rcore.c

+ 0
- 2
src/rcore.c 查看文件

@ -924,8 +924,6 @@ void InitWindow(int width, int height, const char *title)
emscripten_set_gamepaddisconnected_callback(NULL, 1, EmscriptenGamepadCallback);
#endif
SetMousePosition(CORE.Window.screen.width/2, CORE.Window.screen.height/2);
#if defined(SUPPORT_EVENTS_AUTOMATION)
events = (AutomationEvent *)malloc(MAX_CODE_AUTOMATION_EVENTS*sizeof(AutomationEvent));
CORE.Time.frameCounter = 0;

Loading…
取消
儲存