diff options
author | Torbjörn Andersson | 2013-08-19 19:34:41 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2013-08-19 19:34:41 +0200 |
commit | 8c2bbb09a8789b17adc4abe609571d1a0b64e535 (patch) | |
tree | 4ad4b15283613246ccbfcaa62ae8126e793e64f3 | |
parent | 3a2b629a178f669c60b33e361bb1d6a15e553b4d (diff) | |
download | scummvm-rg350-8c2bbb09a8789b17adc4abe609571d1a0b64e535.tar.gz scummvm-rg350-8c2bbb09a8789b17adc4abe609571d1a0b64e535.tar.bz2 scummvm-rg350-8c2bbb09a8789b17adc4abe609571d1a0b64e535.zip |
GRAPHICS: Add missing "break"s in switch, CID 1063214
This won't actually make any difference, since the fall through
would do nothing and then reach the break in the default case. But
I think it's less error-prone this way if the code is ever modified.
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index e4843ba78b..cb714a0b45 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -287,12 +287,14 @@ VectorRenderer *createRenderer(int mode) { return new VectorRendererSpec<uint32>(format); else if (g_system->getOverlayFormat().bytesPerPixel == 2) return new VectorRendererSpec<uint16>(format); + break; #ifndef DISABLE_FANCY_THEMES case GUI::ThemeEngine::kGfxAntialias: if (g_system->getOverlayFormat().bytesPerPixel == 4) return new VectorRendererAA<uint32>(format); else if (g_system->getOverlayFormat().bytesPerPixel == 2) return new VectorRendererAA<uint16>(format); + break; #endif default: break; |