summaryrefslogtreecommitdiff
path: root/src/render/gl/GLTexture.cpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-04-16 21:19:25 +0300
committerGitHub <noreply@github.com>2026-04-16 19:19:25 +0100
commit66ea2e2c9ed4e9257521e6706fbd21feb7e3cc5b (patch)
tree6c0c9842245917e9828874263cd11d6f556a0a48 /src/render/gl/GLTexture.cpp
parent4cce7f60a9c8772d18ffb43cb74aa227ab4b3bc4 (diff)
renderer: Various CM fixes, part 8 of refactors (#13860)
Part 8 of Ujin's refactors.
Diffstat (limited to 'src/render/gl/GLTexture.cpp')
-rw-r--r--src/render/gl/GLTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/gl/GLTexture.cpp b/src/render/gl/GLTexture.cpp
index 22bb8146..3216290e 100644
--- a/src/render/gl/GLTexture.cpp
+++ b/src/render/gl/GLTexture.cpp
@@ -84,7 +84,7 @@ CGLTexture::CGLTexture(const Aquamarine::SDMABUFAttrs& attrs, void* image, bool
m_type = isDrmFormatOpaque(attrs.format) ? TEXTURE_RGBX : TEXTURE_RGBA;
//}
- allocate(attrs.size);
+ allocate(attrs.size, attrs.format);
m_eglImage = image;
bind();