mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 14:24:10 +00:00
Fix mouse lock/high-dpi
This commit is contained in:
parent
72c0a6a680
commit
3b1debaa0d
3 changed files with 23 additions and 10 deletions
|
@ -1090,9 +1090,9 @@ Idle(void *arg)
|
|||
if((!FrontEndMenuManager.m_bMenuActive || FrontEndMenuManager.m_bRenderGameInMenu) &&
|
||||
TheCamera.GetScreenFadeStatus() != FADE_2)
|
||||
{
|
||||
#ifdef GTA_PC
|
||||
// This is from SA, but it's nice for windowed mode
|
||||
#if defined(GTA_PC) && !defined(RW_GL3)
|
||||
if (!FrontEndMenuManager.m_bRenderGameInMenu) {
|
||||
// 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue