]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture.h
Remove various old deprecated things
[libs/gl.git] / source / texture.h
index bd000a325e520b7392a2afc404988879f7e3ecca..3fa29f60603ca66272d306b9cbe35c49e1d0ea27 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_GL_TEXTURE_H_
 #define MSP_GL_TEXTURE_H_
 
+#include <msp/core/attributes.h>
 #include <msp/datafile/objectloader.h>
 #include <msp/graphics/image.h>
 #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