]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Texture.h
Some refactor about Person class.
[lugaru.git] / Source / Texture.h
index 4424cee68a47656c785d5297d82aa1655598b574..ca68a3f576f85c50a488bfcfdd94ff059e51069e 100644 (file)
@@ -22,9 +22,7 @@ class Texture {
                Texture():
                        isSkin(false), skinsize(0), arraySize(0),
                        fileName(""), id(0), mipmap(false), hasalpha(false), array(NULL) { }
-               ~Texture() {
-                       free(array);
-               }
+               ~Texture();
                Texture (const std::string& _fileName, bool _mipmap, bool _hasalpha):
                        isSkin(false), skinsize(0), arraySize(0), array(NULL),
                        fileName(_fileName), id(0), mipmap(_mipmap), hasalpha(_hasalpha) { }