X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.h;h=3fa29f60603ca66272d306b9cbe35c49e1d0ea27;hb=df20a7e137542a4156cc5ffa8118d59de6b68547;hp=bd000a325e520b7392a2afc404988879f7e3ecca;hpb=fd18332856ddd03f79a54dd034d53cb0a384335d;p=libs%2Fgl.git diff --git a/source/texture.h b/source/texture.h index bd000a32..3fa29f60 100644 --- a/source/texture.h +++ b/source/texture.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_TEXTURE_H_ #define MSP_GL_TEXTURE_H_ +#include #include #include #include "datatype.h" @@ -176,7 +177,7 @@ public: void set_auto_generate_mipmap(bool); /// Deprecated. Use set_auto_generate_mipmap instead. - void set_generate_mipmap(bool g) { set_auto_generate_mipmap(g); } + DEPRECATED void set_generate_mipmap(bool g) { set_auto_generate_mipmap(g); } /** Sets depth texture comparison. Has no effect on other formats. When comparison is enabled, the third component of the texture coordinate is