diff options
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r-- | src/gui/sdlfont.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index 8713367bc..bafc2c8e2 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -30,6 +30,7 @@ #include "utils/paths.h" #include "resources/image.h" +#include "resources/imagehelper.h" #include "resources/resourcemanager.h" #include "utils/stringutils.h" @@ -84,9 +85,7 @@ class SDLTextChunk return; } - img = Image::createTextSurface(surface, alpha); -// img = Image::load(surface); - + img = ImageHelper::createTextSurface(surface, alpha); SDL_FreeSurface(surface); } |