aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-11-30 19:53:11 +0000
committerD G Turner2019-11-30 19:53:11 +0000
commitd0592f379fa8d548a10296f15a5a34709f946e48 (patch)
tree3a97bfbfc90b867d799ed4af07405a5e74de0ae8
parentb7b66c5049feb6748791bc514bf8869f470530f0 (diff)
downloadscummvm-rg350-d0592f379fa8d548a10296f15a5a34709f946e48.tar.gz
scummvm-rg350-d0592f379fa8d548a10296f15a5a34709f946e48.tar.bz2
scummvm-rg350-d0592f379fa8d548a10296f15a5a34709f946e48.zip
SURFACESDL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index c43dee78ef..21a8265d8c 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -716,6 +716,8 @@ ScalerProc *SurfaceSdlGraphicsManager::getGraphicsScalerProc(int mode) const {
newScalerProc = DotMatrix;
break;
#endif // USE_SCALERS
+ default:
+ break;
}
return newScalerProc;