X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FModels.h;h=3874e233003710e5122983fe42234c9f60001cbf;hb=f66f0e0b961dd138e4a60554373de9e64abd973b;hp=8db72a25ef37688b49622a68b5e0de2214f550f6;hpb=af1d37a1d6e36f63c514c20dc6413e9d61146ec6;p=lugaru.git diff --git a/Source/Models.h b/Source/Models.h index 8db72a2..3874e23 100644 --- a/Source/Models.h +++ b/Source/Models.h @@ -127,10 +127,10 @@ public: void UpdateVertexArray(); void UpdateVertexArrayNoTex(); void UpdateVertexArrayNoTexNoNorm(); - bool loadnotex(const char *filename); - bool loadraw(char *filename); - bool load(const char *filename, bool texture); - bool loaddecal(const char *filename, bool texture); + bool loadnotex(const std::string& filename); + bool loadraw(const std::string& filename); + bool load(const std::string& filename, bool texture); + bool loaddecal(const std::string& filename, bool texture); void Scale(float xscale, float yscale, float zscale); void FlipTexCoords(); void UniformTexCoords();