]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Text.cpp
Oops, should be ifdef not ifndef
[lugaru.git] / Source / Text.cpp
index 1c00920a3153c162bd447426f9218e32e3837c8b..0a31c3ea6f9a165056820f72be43fada4583c620 100644 (file)
@@ -22,13 +22,13 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #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;