mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-30 02:30:41 +00:00
SW: Don't process input at frame rate if ScrollMode2D is true.
- ScrollMode2D was running at the frame rate, turning off vsync made it unacceptable.
This commit is contained in:
parent
b801a73db9
commit
1aa1e62c4d
1 changed files with 3 additions and 2 deletions
|
@ -2574,8 +2574,9 @@ void RunLevel(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!ScrollMode2D)
|
||||
getinput(myconnectindex);
|
||||
|
||||
getinput(myconnectindex);
|
||||
drawscreen(Player + screenpeek);
|
||||
|
||||
if (QuitFlag)
|
||||
|
@ -3087,7 +3088,7 @@ void getinput(int const playerNum)
|
|||
// If in 2D follow mode, scroll around.
|
||||
if (ScrollMode2D && !Prediction)
|
||||
{
|
||||
keymove = keymove / 6;
|
||||
keymove = keymove / 2;
|
||||
|
||||
if (M_Active())
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue