X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTexture.h;h=95547bf30e9ec9e9b494495af2442e6d7f12c594;hb=5fcf8f2dd84714a4563c5db291f7b173eda434d4;hp=111712c696a03b4e050758942cd61004f0eb3356;hpb=4ab9deb96cff2cee146a3f9607f369d0d0e87b00;p=lugaru.git diff --git a/Source/Texture.h b/Source/Texture.h index 111712c..95547bf 100644 --- a/Source/Texture.h +++ b/Source/Texture.h @@ -34,7 +34,6 @@ private: GLuint id; string filename; bool hasMipmap; - bool hasAlpha; bool isSkin; int skinsize; GLubyte* data; @@ -43,7 +42,7 @@ private: void load(); public: - TextureRes(const string& filename, bool hasMipmap, bool hasAlpha); + TextureRes(const string& filename, bool hasMipmap); TextureRes(const string& filename, bool hasMipmap, GLubyte* array, int* skinsize); ~TextureRes(); void bind(); @@ -55,7 +54,7 @@ private: TextureRes* tex; public: inline Texture(): tex(NULL) {} - void load(const string& filename, bool hasMipmap, bool hasAlpha); + void load(const string& filename, bool hasMipmap); void load(const string& filename, bool hasMipmap, GLubyte* array, int* skinsizep); void destroy(); void bind();