aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/gltexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/opengl/gltexture.h')
-rw-r--r--backends/graphics/opengl/gltexture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h
index d689e02951..4a3ba5da8e 100644
--- a/backends/graphics/opengl/gltexture.h
+++ b/backends/graphics/opengl/gltexture.h
@@ -74,6 +74,8 @@ public:
GLuint getHeight() const { return _realHeight; }
GLuint getTextureName() const { return _textureName; }
+ void setFilter(GLint filter) { _filter = filter; }
+
protected:
const byte _bytesPerPixel;
const GLenum _glFormat;
@@ -86,4 +88,5 @@ protected:
GLuint _textureWidth;
GLuint _textureHeight;
bool _refresh;
+ GLint _filter;
};