summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r--src/gui/sdlfont.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp
index b1e0092d7..e1a0cf832 100644
--- a/src/gui/sdlfont.cpp
+++ b/src/gui/sdlfont.cpp
@@ -138,7 +138,7 @@ void SDLTextChunk::generate(TTF_Font *const font, const float alpha)
sdlCol.r = static_cast<uint8_t>(color.r);
sdlCol.g = static_cast<uint8_t>(color.g);
#ifdef USE_SDL2
- sdlCol.a = 0;
+ sdlCol.a = 255;
#else
sdlCol.unused = 0;
#endif
@@ -175,7 +175,7 @@ void SDLTextChunk::generate(TTF_Font *const font, const float alpha)
sdlCol2.r = static_cast<uint8_t>(color2.r);
sdlCol2.g = static_cast<uint8_t>(color2.g);
#ifdef USE_SDL2
- sdlCol2.a = 0;
+ sdlCol2.a = 255;
#else
sdlCol2.unused = 0;
#endif