X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.cpp;h=0a31c3ea6f9a165056820f72be43fada4583c620;hb=e08372a2095837a0b951ccb68c3499ef67c1a827;hp=1c00920a3153c162bd447426f9218e32e3837c8b;hpb=5509b55dbc13227bdc7b97f2934fa71dad02cc66;p=lugaru.git diff --git a/Source/Text.cpp b/Source/Text.cpp index 1c00920..0a31c3e 100644 --- a/Source/Text.cpp +++ b/Source/Text.cpp @@ -22,13 +22,13 @@ along with Lugaru. If not, see . #include "Text.h" #include "Game.h" -void Text::LoadFontTexture(const char *fileName) +void Text::LoadFontTexture(const std::string& fileName) { LOGFUNC; LOG(std::string("Loading font texture...") + fileName); - FontTexture.load(fileName, false, false); + FontTexture.load(fileName, false); if (base) { glDeleteLists(base, 512); base = 0;