summaryrefslogtreecommitdiff
path: root/src/render/Texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Texture.hpp')
-rw-r--r--src/render/Texture.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/Texture.hpp b/src/render/Texture.hpp
index 8ee2cab0..c2e9b2c3 100644
--- a/src/render/Texture.hpp
+++ b/src/render/Texture.hpp
@@ -49,6 +49,9 @@ class CTexture {
uint32_t m_drmFormat = 0; // for shm
bool m_isSynchronous = false;
+ GLenum magFilter = GL_LINEAR; // useNearestNeighbor overwrites these
+ GLenum minFilter = GL_LINEAR;
+
private:
enum eTextureParam : uint8_t {
TEXTURE_PAR_WRAP_S = 0,