mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix EGLImage leak when not using a hwaccel backend
This commit is contained in:
@@ -792,6 +792,5 @@ void EGLRenderer::renderFrame(AVFrame* frame)
|
|||||||
glFinish();
|
glFinish();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frame->hw_frames_ctx != nullptr)
|
m_Backend->freeEGLImages(m_EGLDisplay, imgs);
|
||||||
m_Backend->freeEGLImages(m_EGLDisplay, imgs);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user