mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-08 15:10:14 +01:00
Fixed font color bug, as implemented by KMetalMind.
This commit is contained in:
parent
ba7a5ebfb9
commit
6aa0a452b5
@ -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());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user