From 6aa0a452b5f5425fd6ecb7402be290a252a86835 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Tue, 3 May 2016 16:00:36 +0200 Subject: [PATCH] Fixed font color bug, as implemented by KMetalMind. --- RetroFE/Source/Graphics/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/Graphics/Font.cpp b/RetroFE/Source/Graphics/Font.cpp index b1e8354..3d1e70b 100644 --- a/RetroFE/Source/Graphics/Font.cpp +++ b/RetroFE/Source/Graphics/Font.cpp @@ -145,7 +145,7 @@ bool Font::initialize(std::string fontPath, int fontSize, SDL_Color color) SDL_LockMutex(SDL::getMutex()); texture = SDL_CreateTextureFromSurface(SDL::getRenderer(), atlasSurface); - SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_ADD); + SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_BLEND); SDL_FreeSurface(atlasSurface); SDL_UnlockMutex(SDL::getMutex());