toplevelexport: fix missed pmonitor set for opengl

ref #4165
This commit is contained in:
Vaxry 2023-12-15 21:20:13 +00:00
parent 4e5d9b90c0
commit b1b8d732e6

View file

@ -397,7 +397,7 @@ bool CToplevelExportProtocolManager::copyFrameShm(SScreencopyFrame* frame, times
g_pHyprRenderer->endRender(); g_pHyprRenderer->endRender();
g_pHyprRenderer->makeEGLCurrent(); g_pHyprRenderer->makeEGLCurrent();
g_pHyprOpenGL->m_RenderData.pMonitor = PMONITOR;
outFB.bind(); outFB.bind();
#ifndef GLES2 #ifndef GLES2