mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
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.
This commit is contained in:
parent
3a2b629a17
commit
8c2bbb09a8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user