X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTexture.h;h=95547bf30e9ec9e9b494495af2442e6d7f12c594;hb=d9af94bbebdd8ab2b276a0a66492c9d97677d4f4;hp=111712c696a03b4e050758942cd61004f0eb3356;hpb=cedb9cffef6e30a2c04239c60027029da48b3897;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();