OpenTTD/src/video
Nikolas Nyby f13b184588 Codechange: Don't use SDL_CreateRGBSurfaceWithFormat()
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.

Closes #7785

Note: this code path is activated by using an 8-bit blitter, like:

    ./bin/openttd -b 8bpp-simple
2019-10-25 22:23:57 +01:00
..
cocoa Fix: Some typos found using codespell 2019-09-29 21:27:32 +01:00
allegro_v.cpp Codechange: use std::vector for _resolutions 2019-04-18 21:49:34 +02:00
allegro_v.h Codechange: Use override specifer for overriding member declarations 2019-03-24 16:10:04 +01:00
dedicated_v.cpp Cleanup: Remove duplicate thread.h include (#7683) 2019-08-06 07:43:00 +01:00
dedicated_v.h Codechange: Use override specifer for overriding member declarations 2019-03-24 16:10:04 +01:00
null_v.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
null_v.h Codechange: Use override specifer for overriding member declarations 2019-03-24 16:10:04 +01:00
sdl2_v.cpp Codechange: Don't use SDL_CreateRGBSurfaceWithFormat() 2019-10-25 22:23:57 +01:00
sdl2_v.h Add #6173: New SDL 2 based video and sound drivers (#7086) 2019-09-19 17:18:50 +02:00
sdl_v.cpp Codechange: use std::vector for _resolutions 2019-04-18 21:49:34 +02:00
sdl_v.h Codechange: Use override specifer for overriding member declarations 2019-03-24 16:10:04 +01:00
video_driver.hpp Codechange: use std::vector for _resolutions 2019-04-18 21:49:34 +02:00
win32_v.cpp Codechange: use std::vector for _resolutions 2019-04-18 21:49:34 +02:00
win32_v.h Codechange: Use override specifer for overriding member declarations 2019-03-24 16:10:04 +01:00