diff options
Diffstat (limited to 'src/guichan/sdl/sdlgraphics.cpp')
-rw-r--r-- | src/guichan/sdl/sdlgraphics.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index 8c4504a59..c64018755 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -353,6 +353,8 @@ namespace gcn } break; } + default: + break; } // end switch @@ -413,7 +415,7 @@ namespace gcn Uint32 pixel = SDL_MapRGB(mTarget->format, mColor.r, mColor.g, mColor.b); switch(bpp) - { + { case 1: for (;y1 <= y2; ++y1) { @@ -467,7 +469,9 @@ namespace gcn p += mTarget->pitch; } break; - + + default: + break; } // end switch SDL_UnlockSurface(mTarget); |