X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.h;h=c2a2cccedce79f75b55ebfafc584533151c7c146;hb=2a35a9f30b5cc6c2f2b06e706910a3fc5f756685;hp=281b75c7e979694779ea3f45fd83f4066dd6d9a1;hpb=5509b55dbc13227bdc7b97f2934fa71dad02cc66;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);