mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Simplify code
This commit is contained in:
@@ -582,8 +582,3 @@ bool ScreenHandler::hasFocus()
|
||||
ui32 flags = SDL_GetWindowFlags(mainWindow);
|
||||
return flags & SDL_WINDOW_INPUT_FOCUS;
|
||||
}
|
||||
|
||||
void ScreenHandler::getRenderScale(float & scaleX, float & scaleY)
|
||||
{
|
||||
SDL_RenderGetScale(mainRenderer, &scaleX, &scaleY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user