X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.h;h=c2a2cccedce79f75b55ebfafc584533151c7c146;hb=f66f0e0b961dd138e4a60554373de9e64abd973b;hp=281b75c7e979694779ea3f45fd83f4066dd6d9a1;hpb=af1d37a1d6e36f63c514c20dc6413e9d61146ec6;p=lugaru.git diff --git a/Source/Text.h b/Source/Text.h index 281b75c..c2a2ccc 100644 --- a/Source/Text.h +++ b/Source/Text.h @@ -36,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);