OPENGLSDL: Fix signed/unsigned comparison
This commit is contained in:
parent
22c2f39c00
commit
e49cf11275
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ void OpenGLSdlGraphicsManager::notifyResize(const uint width, const uint height)
|
||||||
// event is processed after recreating the window at the new resolution.
|
// event is processed after recreating the window at the new resolution.
|
||||||
int currentWidth, currentHeight;
|
int currentWidth, currentHeight;
|
||||||
getWindowDimensions(¤tWidth, ¤tHeight);
|
getWindowDimensions(¤tWidth, ¤tHeight);
|
||||||
if (width != currentWidth || height != currentHeight)
|
if (width != (uint)currentWidth || height != (uint)currentHeight)
|
||||||
return;
|
return;
|
||||||
setActualScreenSize(width, height);
|
setActualScreenSize(width, height);
|
||||||
_eventSource->resetKeyboardEmulation(width - 1, height - 1);
|
_eventSource->resetKeyboardEmulation(width - 1, height - 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue