feat: implement per-frame mouse look for reduced input latency on Windows
This commit is contained in:
1 parent
71daf43d99
commit
5fa4418adb
4 files changed
+64
-7
No files matched your search
@@ -1077,6 +1077,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
// Render game graphics.
|
||||
if(app.GetGameStarted())
|
||||
{
|
||||
pMinecraft->applyFrameMouseLook(); // Per-frame mouse look (before ticks + render)
|
||||
pMinecraft->run_middle();
|
||||
app.SetAppPaused( g_NetworkManager.IsLocalGame() && g_NetworkManager.GetPlayerCount() == 1 && ui.IsPauseMenuDisplayed(ProfileManager.GetPrimaryPad()) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user