diff options
author | Vaxry <[email protected]> | 2023-11-04 19:35:49 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-11-04 19:35:49 +0000 |
commit | 66a3719b8613a69890f7e6cb0ebdb107703e42e0 (patch) | |
tree | 3d868916b2178dae90bd5e7bff5d3f56d2a33abb /src/render/OpenGL.cpp | |
parent | 64a084477ea8df67cbb35b22826a1f6a0845e123 (diff) | |
download | Hyprland-66a3719b8613a69890f7e6cb0ebdb107703e42e0.tar.gz Hyprland-66a3719b8613a69890f7e6cb0ebdb107703e42e0.zip |
renderer: allow transform enabling from outside opengl
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r-- | src/render/OpenGL.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 8c691b35..b8028c3f 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -1994,3 +1994,7 @@ void CHyprOpenGLImpl::bindBackOnMain() { m_RenderData.pCurrentMonData->primaryFB.bind(); m_RenderData.currentFB = &m_RenderData.pCurrentMonData->primaryFB; } + +void CHyprOpenGLImpl::setMonitorTransformEnabled(bool enabled) { + m_bEndFrame = !enabled; +} |