X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.h;h=c2a2cccedce79f75b55ebfafc584533151c7c146;hb=ee61774f2faaa15f5c55bb126e22b5fe650b8e75;hp=b3165b738c8c9c1cb7e43e91298d0f01847374b0;hpb=97989f58ab13c64fbe05e629d2b2a024a2c3cfa4;p=lugaru.git diff --git a/Source/Text.h b/Source/Text.h index b3165b7..c2a2ccc 100644 --- a/Source/Text.h +++ b/Source/Text.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -35,7 +36,7 @@ public: Texture FontTexture; GLuint base; - void LoadFontTexture(const char *fileName); + void LoadFontTexture(const std::string& fileName); void BuildFont(); void glPrint(float x, float y, const char *string, int set, float size, float width, float height); void glPrintOutline(float x, float y, const char *string, int set, float size, float width, float height);