diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c index db22c30d8..78e4d7e8a 100644 --- a/src/SDL12_compat.c +++ b/src/SDL12_compat.c @@ -5231,7 +5231,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags12) switch (bpp) { case 8: appfmt = SDL_PIXELFORMAT_INDEX8; break; case 16: appfmt = SDL_PIXELFORMAT_RGB565; FIXME("bgr instead of rgb?"); break; - case 24: appfmt = SDL_PIXELFORMAT_RGB24; FIXME("bgr instead of rgb?"); break; + case 24: appfmt = SDL_PIXELFORMAT_RGB888; FIXME("bgr instead of rgb?"); break; case 32: appfmt = SDL_PIXELFORMAT_XRGB8888; FIXME("bgr instead of rgb?"); break; default: SDL20_SetError("Unsupported bits-per-pixel"); return NULL; }