renderer: always render snapshots as 8bit
fixes issues with transparent windows on 10b
This commit is contained in:
parent
25cf06f6cf
commit
60cd5b7a48
4 changed files with 16 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue