Cleaning up some leftovers

This commit is contained in:
AcTh2 2026-03-07 01:11:44 +01:00 committed by GitHub
parent 2ae2d9ff1b
commit e818da701a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2352,10 +2352,6 @@ void Minecraft::tick(bool bFirst, bool bUpdateTextures)
#ifdef _WINDOWS64
if (!g_KBMInput.IsMouseGrabbed() && g_KBMInput.IsWindowFocused())
{
g_KBMInput.SetMouseGrabbed(false);
}
if (screen == NULL && !g_KBMInput.IsMouseGrabbed() && g_KBMInput.IsWindowFocused()) {
g_KBMInput.SetMouseGrabbed(true);
}
#endif