Skip to content
Permalink
Browse files

SDL_bmp.c: reject bmp files with zero bpp

  • Loading branch information
sezero committed Sep 3, 2019
1 parent 46d1437 commit 9e6e01257ec99a023a5891ef238d30b4d321c06d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/SDL_bmp.c
@@ -168,6 +168,7 @@ SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc)
ExpandBMP = biBitCount;
biBitCount = 8;
break;
case 0:
case 2:
case 3:
case 5:

0 comments on commit 9e6e012

Please sign in to comment.