diff options
author | Colin Snover | 2016-11-18 12:13:58 -0600 |
---|---|---|
committer | Colin Snover | 2016-11-20 16:13:51 -0600 |
commit | e49cf11275a1dffdb6b6573d2637e60f1e280cac (patch) | |
tree | 523c1177953f5ee078c55aa2908b456154adff4a | |
parent | 22c2f39c0026a1ba00d7f28a93a0b4f9baa5fbfc (diff) | |
download | scummvm-rg350-e49cf11275a1dffdb6b6573d2637e60f1e280cac.tar.gz scummvm-rg350-e49cf11275a1dffdb6b6573d2637e60f1e280cac.tar.bz2 scummvm-rg350-e49cf11275a1dffdb6b6573d2637e60f1e280cac.zip |
OPENGLSDL: Fix signed/unsigned comparison
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 8f2ff1b9fa..860173a3c6 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -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); |