mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
OPENGLSDL: Fix signed/unsigned comparison
This commit is contained in:
parent
22c2f39c00
commit
e49cf11275
@ -357,7 +357,7 @@ void OpenGLSdlGraphicsManager::notifyResize(const uint width, const uint height)
|
||||
// event is processed after recreating the window at the new resolution.
|
||||
int currentWidth, currentHeight;
|
||||
getWindowDimensions(¤tWidth, ¤tHeight);
|
||||
if (width != currentWidth || height != currentHeight)
|
||||
if (width != (uint)currentWidth || height != (uint)currentHeight)
|
||||
return;
|
||||
setActualScreenSize(width, height);
|
||||
_eventSource->resetKeyboardEmulation(width - 1, height - 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user