#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"
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