]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Text.h
Replaced as much char* as possible by std::strings
[lugaru.git] / Source / Text.h
index 281b75c7e979694779ea3f45fd83f4066dd6d9a1..c2a2cccedce79f75b55ebfafc584533151c7c146 100644 (file)
@@ -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);