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 committed 2026-02-09 19:40:53 +01:00
1 parent ddd8ad4c37
commit f4326efbdd
1 file changed
+6 -6
+6 -6
View File
@@ -910,11 +910,6 @@ void D_SRB2Loop(void)
R_UpdateViewInterpolation();
}
}
if (!dedicated)
{
G_DeviceLEDTick();
}
}
if (!dedicated && R_UsingFrameInterpolation())
@@ -952,7 +947,12 @@ void D_SRB2Loop(void)
M_SaveFrame();
if (takescreenshot)
M_DoScreenShot();
#ifndef DEDICATED
if (!dedicated && renderisnewtic)
{
G_DeviceLEDTick();
}
#endif
// consoleplayer -> displayplayers (hear sounds from viewpoint)
if (renderisnewtic)
S_UpdateSounds(); // move positional sounds