From 966f20d305345b3042dc1d37a1dd8833f3a4783b Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Sat, 7 Mar 2026 16:13:34 +0300 Subject: renderer: refactor resources and flags (#13471) --- src/managers/screenshare/CursorshareSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/managers/screenshare/CursorshareSession.cpp') 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) { -- cgit v1.2.3