diff options
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r-- | video/out/vo_sdl.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index 9696520b83..e31dfdc8f2 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -69,11 +69,11 @@ const struct formatmap_entry formats[] = { {SDL_PIXELFORMAT_BGR24, IMGFMT_BGR24, 0}, {SDL_PIXELFORMAT_RGB888, IMGFMT_RGB24, 0}, {SDL_PIXELFORMAT_BGR888, IMGFMT_BGR24, 0}, - {SDL_PIXELFORMAT_RGB565, IMGFMT_RGB16, 0}, - {SDL_PIXELFORMAT_BGR565, IMGFMT_BGR16, 0}, - {SDL_PIXELFORMAT_RGB555, IMGFMT_RGB15, 0}, - {SDL_PIXELFORMAT_BGR555, IMGFMT_BGR15, 0}, - {SDL_PIXELFORMAT_RGB444, IMGFMT_RGB12, 0} + {SDL_PIXELFORMAT_RGB565, IMGFMT_BGR565, 0}, + {SDL_PIXELFORMAT_BGR565, IMGFMT_RGB565, 0}, + {SDL_PIXELFORMAT_RGB555, IMGFMT_BGR555, 0}, + {SDL_PIXELFORMAT_BGR555, IMGFMT_RGB555, 0}, + {SDL_PIXELFORMAT_RGB444, IMGFMT_BGR444, 0} #else {SDL_PIXELFORMAT_RGBX8888, IMGFMT_ABGR, 0}, // has no alpha -> bad for OSD {SDL_PIXELFORMAT_BGRX8888, IMGFMT_ARGB, 0}, // has no alpha -> bad for OSD @@ -85,11 +85,11 @@ const struct formatmap_entry formats[] = { {SDL_PIXELFORMAT_BGR24, IMGFMT_BGR24, 0}, {SDL_PIXELFORMAT_RGB888, IMGFMT_BGR24, 0}, {SDL_PIXELFORMAT_BGR888, IMGFMT_RGB24, 0}, - {SDL_PIXELFORMAT_RGB565, IMGFMT_BGR16, 0}, - {SDL_PIXELFORMAT_BGR565, IMGFMT_RGB16, 0}, - {SDL_PIXELFORMAT_RGB555, IMGFMT_BGR15, 0}, - {SDL_PIXELFORMAT_BGR555, IMGFMT_RGB15, 0}, - {SDL_PIXELFORMAT_RGB444, IMGFMT_BGR12, 0} + {SDL_PIXELFORMAT_RGB565, IMGFMT_RGB565, 0}, + {SDL_PIXELFORMAT_BGR565, IMGFMT_RGB565, 0}, + {SDL_PIXELFORMAT_RGB555, IMGFMT_RGB555, 0}, + {SDL_PIXELFORMAT_BGR555, IMGFMT_BGR555, 0}, + {SDL_PIXELFORMAT_RGB444, IMGFMT_RGB444, 0} #endif }; |