Text render bug fix.

This commit is contained in:
Steve 2016-02-20 15:04:26 +00:00
parent 5bf486ede6
commit 7337460853
2 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static void drawTextNormal(int x, int y, int size, int align, SDL_Color c, char
if (!t)
{
surface = TTF_RenderText_Blended(font[size], text, c);
surface = TTF_RenderText_Blended(font[size], text, colors.white);
t = SDL_CreateTextureFromSurface(app.renderer, surface);
SDL_FreeSurface(surface);

View File

@ -26,3 +26,4 @@ extern void blit(SDL_Texture *texture, int x, int y, int centered);
extern char *getFileLocation(char *filename);
extern App app;
extern Colors colors;