summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r--gfx/models/texture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h
index cc0c07e..ffc9a4a 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -11,6 +11,7 @@ class Image;
struct TextureOptions {
GLint wrap {GL_REPEAT};
GLint minFilter {GL_LINEAR}, magFilter {GL_LINEAR};
+ GLenum type {GL_TEXTURE_2D};
};
class Texture {
@@ -34,4 +35,5 @@ private:
const char * path, short tgaFormat);
glTexture m_texture;
+ GLenum type;
};