Skip to content
Permalink
Browse files
@@ -, +, @@
  • Loading branch information
slouken committed Mar 17, 2019
1 parent 3c6f205 commit 4291cd0e9456cb8037867d9023ec7420f0feea65
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/video/SDL_bmp.c
@@ -163,6 +163,14 @@ SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc)
ExpandBMP = biBitCount;
biBitCount = 8;
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:
ExpandBMP = 0;
break;

0 comments on commit 4291cd0

Please sign in to comment.