diff options
Diffstat (limited to 'src/render/gl/GLTexture.cpp')
| -rw-r--r-- | src/render/gl/GLTexture.cpp | 2 |
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(); |
