mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Remove UI resize call from UpdateAspectRatio
This commit is contained in:
parent
c4ed99810a
commit
c8f0e8939b
|
|
@ -100,10 +100,6 @@ static WINDOWPLACEMENT g_wpPrev = { sizeof(g_wpPrev) };
|
|||
void UpdateAspectRatio(int width, int height)
|
||||
{
|
||||
g_iAspectRatio = (float)width / (float)height;
|
||||
// printf("Window resized to: %d x %d, aspect ratio: %.2f\n", width, height, g_iAspectRatio);
|
||||
|
||||
// Update the UI components as well
|
||||
ui.resize(width, height);
|
||||
}
|
||||
|
||||
void DefineActions(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue