mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
don't read mouse in nodrawers mode
This commit is contained in:
parent
fadec9bc90
commit
4066e6c5e0
22
src/d_main.c
22
src/d_main.c
@ -233,17 +233,6 @@ void D_Display (void)
|
|||||||
int wipestart;
|
int wipestart;
|
||||||
boolean done, wipe, redrawsbar;
|
boolean done, wipe, redrawsbar;
|
||||||
|
|
||||||
if (uncapped)
|
|
||||||
{
|
|
||||||
// [AM] Figure out how far into the current tic we're in as a fixed_t.
|
|
||||||
fractionaltic = I_GetFracTime();
|
|
||||||
|
|
||||||
if (window_focused)
|
|
||||||
{
|
|
||||||
I_ReadMouse();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (demobar && PLAYBACK_SKIP)
|
if (demobar && PLAYBACK_SKIP)
|
||||||
{
|
{
|
||||||
if (HU_DemoProgressBar(false))
|
if (HU_DemoProgressBar(false))
|
||||||
@ -256,6 +245,17 @@ void D_Display (void)
|
|||||||
if (nodrawers) // for comparative timing / profiling
|
if (nodrawers) // for comparative timing / profiling
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (uncapped)
|
||||||
|
{
|
||||||
|
// [AM] Figure out how far into the current tic we're in as a fixed_t.
|
||||||
|
fractionaltic = I_GetFracTime();
|
||||||
|
|
||||||
|
if (window_focused)
|
||||||
|
{
|
||||||
|
I_ReadMouse();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
enable_drs = true;
|
enable_drs = true;
|
||||||
|
|
||||||
redrawsbar = false;
|
redrawsbar = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user