remove texture auto_destroy flag

This commit is contained in:
2019-12-01 18:52:41 +01:00
parent f6c1194cb3
commit 94cf227704
7 changed files with 4 additions and 19 deletions

View File

@@ -16,7 +16,6 @@ public:
void operator=(Texture2D&& other) noexcept;
~Texture2D();
bool auto_destroy = false;
bool has_mips = false;
bool create(int width, int height, GLint internal_format = GL_RGBA8, GLint format = GL_RGBA, const uint8_t* data = nullptr);
bool create(const Image& img);