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.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index ac5c3e6b..db8b37d1 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -111,6 +111,8 @@ class CHyprOpenGLImpl {
void setMatrixScaleTranslate(const Vector2D& translate, const float& scale);
void restoreMatrix();
+ void blend(bool enabled);
+
void makeWindowSnapshot(CWindow*);
void makeRawWindowSnapshot(CWindow*, CFramebuffer*);
void makeLayerSnapshot(SLayerSurface*);
@@ -159,6 +161,7 @@ class CHyprOpenGLImpl {
bool m_bFakeFrame = false;
bool m_bEndFrame = false;
bool m_bApplyFinalShader = false;
+ bool m_bBlend = false;
CShader m_sFinalScreenShader;
CTimer m_tGlobalTimer;