mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-29 02:55:46 +01:00
Change to additive blending for fonts.
This commit is contained in:
parent
2a52b66ace
commit
8f78cc0d16
@ -134,6 +134,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_FreeSurface(atlasSurface);
|
||||
SDL_UnlockMutex(SDL::GetMutex());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user