move gamepad led ticker after render logic

this does not really matter but save a tiny little amount of time before rendering a frame
This commit is contained in:
Alug 2026-02-09 17:39:42 -05:00 committed by NepDisk
parent b2ee66cffb
commit f4120fe776

View file

@ -1063,11 +1063,6 @@ void D_SRB2Loop(void)
}
renderisnewtic = true;
if (!dedicated)
{
G_DeviceLEDTick();
}
}
else
{
@ -1108,6 +1103,11 @@ void D_SRB2Loop(void)
if (takescreenshot)
M_DoScreenShot();
if (!dedicated)
{
G_DeviceLEDTick();
}
// consoleplayer -> displayplayers (hear sounds from viewpoint)
S_UpdateSounds(); // move positional sounds
if (renderisnewtic)