1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

Fix centered texts' outline rendering upside-down in flip mode

If you looked at the "- Press ENTER to Teleport -" text in flip mode,
you might have noticed that the outline looked pretty strange and
glitched-out for some reason. It's just the outline rendering
upside-down. To fix this, make PrintOff() use flipbfont instead of
bfont.
This commit is contained in:
Info Teddy 2020-02-02 17:46:00 -08:00 committed by Ethan Lee
parent a2ab8e82e1
commit cefc95d324

View file

@ -383,7 +383,7 @@ void Graphics::PrintOff( int _x, int _y, std::string _s, int r, int g, int b, bo
if (flipmode)
{
//flipbfont[font_idx(cur)].colorTransform(bfont_rect, ct);
BlitSurfaceColoured( bfont[font_idx(curr)], NULL, backBuffer, &fontRect , ct);
BlitSurfaceColoured( flipbfont[font_idx(curr)], NULL, backBuffer, &fontRect , ct);
}
else
{