summaryrefslogtreecommitdiff
path: root/src/render/Texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Texture.cpp')
-rw-r--r--src/render/Texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp
index 01b80145..ff466f32 100644
--- a/src/render/Texture.cpp
+++ b/src/render/Texture.cpp
@@ -10,7 +10,7 @@ CTexture::CTexture(wlr_texture* tex) {
wlr_gles2_texture_get_attribs(tex, &attrs);
m_iTarget = attrs.target;
- m_iTexID = attrs.tex;
+ m_iTexID = attrs.tex;
if (m_iTarget == GL_TEXTURE_2D) {
m_iType = attrs.has_alpha ? TEXTURE_RGBA : TEXTURE_RGBX;