summaryrefslogtreecommitdiff
path: root/src/render/Framebuffer.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-05-09 22:16:21 +0100
committervaxerski <vaxry@vaxry.net>2025-05-09 22:16:21 +0100
commit60cd5b7a48af4a23717201d70395161a3bb4ab24 (patch)
tree2f2a8313c181880408be9cb9c3cb431778ac4d2b /src/render/Framebuffer.hpp
parent25cf06f6cfe1b23b97d9beae91247413a3683803 (diff)
renderer: always render snapshots as 8bit
fixes issues with transparent windows on 10b
Diffstat (limited to 'src/render/Framebuffer.hpp')
-rw-r--r--src/render/Framebuffer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Framebuffer.hpp b/src/render/Framebuffer.hpp
index 4e041573..0e18df5f 100644
--- a/src/render/Framebuffer.hpp
+++ b/src/render/Framebuffer.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "../defines.hpp"
+#include "../helpers/Format.hpp"
#include "Texture.hpp"
class CFramebuffer {
@@ -20,6 +21,7 @@ class CFramebuffer {
GLuint getFBID();
Vector2D m_size;
+ DRMFormat m_drmFormat = 0 /* DRM_FORMAT_INVALID */;
private:
SP<CTexture> m_tex;