aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/openglsdl
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-15 01:48:33 +0100
committerJohannes Schickel2012-02-15 02:23:14 +0100
commit97760ff10135274c4487ade5fcc999e46a237c16 (patch)
tree5a7cc6c72558e64703eb6e984f125641b898a391 /backends/graphics/openglsdl
parent1f01fb330ca5a621c0a55293762806049ca98c35 (diff)
downloadscummvm-rg350-97760ff10135274c4487ade5fcc999e46a237c16.tar.gz
scummvm-rg350-97760ff10135274c4487ade5fcc999e46a237c16.tar.bz2
scummvm-rg350-97760ff10135274c4487ade5fcc999e46a237c16.zip
OPENGLSDL: Don't cast EventType into int for switch.
Diffstat (limited to 'backends/graphics/openglsdl')
-rw-r--r--backends/graphics/openglsdl/openglsdl-graphics.cpp2
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