diff options
author | Johannes Schickel | 2012-02-15 01:48:33 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-15 02:23:14 +0100 |
commit | 97760ff10135274c4487ade5fcc999e46a237c16 (patch) | |
tree | 5a7cc6c72558e64703eb6e984f125641b898a391 | |
parent | 1f01fb330ca5a621c0a55293762806049ca98c35 (diff) | |
download | scummvm-rg350-97760ff10135274c4487ade5fcc999e46a237c16.tar.gz scummvm-rg350-97760ff10135274c4487ade5fcc999e46a237c16.tar.bz2 scummvm-rg350-97760ff10135274c4487ade5fcc999e46a237c16.zip |
OPENGLSDL: Don't cast EventType into int for switch.
-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 f2b3168e36..4154b6731b 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -486,7 +486,7 @@ void OpenGLSdlGraphicsManager::toggleFullScreen(int loop) { } bool OpenGLSdlGraphicsManager::notifyEvent(const Common::Event &event) { - switch ((int)event.type) { + switch (event.type) { case Common::EVENT_KEYDOWN: if (event.kbd.hasFlags(Common::KBD_ALT)) { // Alt-Return and Alt-Enter toggle full screen mode |