Fix hilarious font rendering bug; format_conv_surf needs an Amask

This commit is contained in:
Michael Martin
2019-08-25 22:40:16 -07:00
parent 761843cc72
commit 5896ee56b2
+3 -1
View File
@@ -159,7 +159,9 @@ TFB_Pure_ConfigureVideo (int driver, int flags, int width, int height, int toggl
} }
SDL_Screen = SDL_Screens[0]; SDL_Screen = SDL_Screens[0];
TransitionScreen = SDL_Screens[2]; TransitionScreen = SDL_Screens[2];
if (0 != ReInit_Screen (&format_conv_surf, 0, 0)) format_conv_surf = SDL_CreateRGBSurface(SDL_SWSURFACE, 0, 0,
32, R_MASK, G_MASK, B_MASK, A_MASK);
if (!format_conv_surf)
{ {
return -1; return -1;
} }