#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;