Files
openttd-android/src
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
..
2019-10-21 19:45:39 +02:00
2019-09-29 21:27:32 +01:00
2019-10-19 20:31:44 +01:00
2019-09-29 21:27:32 +01:00
2019-05-01 21:36:27 +02:00
2019-03-19 23:22:51 +01:00
2019-06-09 11:13:30 +02:00
2019-06-09 11:13:30 +02:00
2019-03-20 19:24:55 +01:00
2019-09-29 21:27:32 +01:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2018-04-29 15:32:16 +02:00
2019-09-29 21:27:32 +01:00
2019-04-29 17:40:22 +01:00
2019-04-29 17:40:22 +01:00
2018-04-30 18:52:32 +02:00
2019-05-01 21:36:27 +02:00
2019-09-29 21:27:32 +01:00
2019-05-01 21:36:27 +02:00
2019-04-29 17:40:22 +01:00
2019-04-29 17:40:22 +01:00
2019-03-05 22:03:00 +01:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-09-29 21:27:32 +01:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-09-29 21:27:32 +01:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00
2019-05-01 21:36:27 +02:00