diff options
Diffstat (limited to 'src/managers/screenshare/CursorshareSession.cpp')
| -rw-r--r-- | src/managers/screenshare/CursorshareSession.cpp | 3 |
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) { |
