summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Cawley <ccawley2011@gmail.com>2019-04-24 20:28:21 +0100
committerCameron Cawley <ccawley2011@gmail.com>2019-04-24 20:28:21 +0100
commitb786bae0bd6c0d53069b753b2c337be595c86adf (patch)
treedfea8c3b112798bfe9a1ae1da4d8b79df447e2d2
parentd589c7aeae677fd47f75375b899994914f662692 (diff)
Remove duplicate case valueSDL-1.2
--HG-- branch : SDL-1.2
-rw-r--r--src/video/SDL_bmp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c
index b457fa6b56..da4e4ab216 100644
--- a/src/video/SDL_bmp.c
+++ b/src/video/SDL_bmp.c
@@ -222,14 +222,6 @@ SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc)
break;
}
break;
- case 2:
- case 3:
- case 5:
- case 6:
- case 7:
- SDL_SetError("%d-bpp BMP images are not supported", biBitCount);
- was_error = SDL_TRUE;
- goto done;
default:
SDL_SetError("Compressed BMP files not supported");
was_error = SDL_TRUE;