renderer: always render snapshots as 8bit

fixes issues with transparent windows on 10b
This commit is contained in:
vaxerski 2025-05-09 22:16:21 +01:00
parent 25cf06f6cf
commit 60cd5b7a48
4 changed files with 16 additions and 7 deletions

View file

@ -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;