Fixed so that we could use DTX5nm as normal map

This commit is contained in:
Teejoon
2016-03-10 19:57:01 +01:00
parent d8f9f15d34
commit 0382708b85
8 changed files with 65 additions and 35 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ public:
void Bind(GLenum textureUnit = GL_TEXTURE0);
GLuint m_Texture = 0;
enum TextureType : GLint { Invalid = 0, DDS = 1, PNG = 2};
TextureType m_Type;
};
#endif
+1 -7
View File
@@ -14,13 +14,7 @@ protected:
TextureSprite(std::string path);
public:
~TextureSprite();
void Bind(GLenum textureUnit = GL_TEXTURE0);
GLuint m_Texture = 0;
unsigned char* Data = nullptr;
~TextureSprite() {};
};
#endif