diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-16 13:28:10 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-18 15:42:21 +0100 |
commit | 54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84 (patch) | |
tree | 9b9a1f1fb6331c59cb9e41371bd241018a3231de /src/core | |
parent | Use CLOCK_MONOTONIC_FAST when available (FreeBSD) (diff) | |
download | re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.tar re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.tar.gz re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.tar.bz2 re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.tar.lz re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.tar.xz re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.tar.zst re3-54214dd2c4da79945b9f6b8b3a31ba5ddb8a0b84.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 48e0ff76..5786fb4e 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1188,12 +1188,12 @@ Idle(void *arg) if(!FrontEndMenuManager.m_bMenuActive && TheCamera.GetScreenFadeStatus() != FADE_2) { -#ifdef GTA_PC - // This is from SA, but it's nice for windowed mode - RwV2d pos; - pos.x = SCREEN_WIDTH / 2.0f; - pos.y = SCREEN_HEIGHT / 2.0f; - RsMouseSetPos(&pos); + // This is from SA, but it's nice for windowed mode +#if defined(GTA_PC) && !defined(RW_GL3) + RwV2d pos; + pos.x = SCREEN_WIDTH / 2.0f; + pos.y = SCREEN_HEIGHT / 2.0f; + RsMouseSetPos(&pos); #endif #ifdef NEW_RENDERER if(!gbNewRenderer) |