summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index 4209d9ac..b3aa5968 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -50,7 +50,7 @@ public:
CHyprOpenGLImpl();
- void begin(SMonitor*, pixman_region32_t*);
+ void begin(SMonitor*, pixman_region32_t*, bool fake = false);
void end();
void renderRect(wlr_box*, const CColor&, int round = 0);
@@ -92,6 +92,8 @@ private:
int m_iDRMFD;
std::string m_szExtensions;
+ bool m_bFakeFrame = false;
+
// Shaders
SQuad m_shQUAD;
CShader m_shRGBA;