summaryrefslogtreecommitdiff
path: root/src/managers/screenshare/CursorshareSession.cpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-03-07 16:13:34 +0300
committerGitHub <noreply@github.com>2026-03-07 13:13:34 +0000
commit966f20d305345b3042dc1d37a1dd8833f3a4783b (patch)
tree3e8515b7a0f6fde7bf3137aac7124ae90e5951ec /src/managers/screenshare/CursorshareSession.cpp
parent32e75e3e320fb66ab517a378df645f3d29b3a209 (diff)
renderer: refactor resources and flags (#13471)
Diffstat (limited to 'src/managers/screenshare/CursorshareSession.cpp')
-rw-r--r--src/managers/screenshare/CursorshareSession.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/screenshare/CursorshareSession.cpp b/src/managers/screenshare/CursorshareSession.cpp
index 703832ab..0de5b020 100644
--- a/src/managers/screenshare/CursorshareSession.cpp
+++ b/src/managers/screenshare/CursorshareSession.cpp
@@ -3,6 +3,7 @@
#include "../../protocols/core/Seat.hpp"
#include "../permissions/DynamicPermissionManager.hpp"
#include "../../render/Renderer.hpp"
+#include "render/OpenGL.hpp"
using namespace Screenshare;
@@ -140,7 +141,7 @@ bool CCursorshareSession::copy() {
// FIXME: this doesn't really make sense but just to be safe
m_pendingFrame.callback(RESULT_TIMESTAMP);
- g_pHyprRenderer->makeEGLCurrent();
+ g_pHyprOpenGL->makeEGLCurrent();
CRegion fakeDamage = {0, 0, INT16_MAX, INT16_MAX};
if (auto attrs = m_pendingFrame.buffer->dmabuf(); attrs.success) {