diff options
| author | Ray <[email protected]> | 2023-02-15 13:11:26 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-02-15 13:11:26 +0100 |
| commit | beb44f1dacce8aef0df3740e341582ca79e040e1 (patch) | |
| tree | 93634c11722ab0cf5941813465850b41799c9f3d /src | |
| parent | 903d85e3233c9a8b1908bc2b9322e1251d100bbe (diff) | |
| download | raylib-beb44f1dacce8aef0df3740e341582ca79e040e1.tar.gz raylib-beb44f1dacce8aef0df3740e341582ca79e040e1.zip | |
Avoid centering mouse when program launches
Diffstat (limited to 'src')
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rcore.c b/src/rcore.c index 0c4691eb..3de0f3f3 100644 --- a/src/rcore.c +++ b/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; |
