Fix hilarious font rendering bug; format_conv_surf needs an Amask
This commit is contained in:
@@ -159,7 +159,9 @@ TFB_Pure_ConfigureVideo (int driver, int flags, int width, int height, int toggl
|
||||
}
|
||||
SDL_Screen = SDL_Screens[0];
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user