X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.h;h=3fa29f60603ca66272d306b9cbe35c49e1d0ea27;hb=c1e297b01f07be122e9909a1ae9c04f0c51dfc21;hp=bd000a325e520b7392a2afc404988879f7e3ecca;hpb=a40fc85277dba5c34402a0e703d038efd30cc57b;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