mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-04 16:59:10 +00:00
Fix EGLImage leak when not using a hwaccel backend
This commit is contained in:
parent
2c2a73e320
commit
93d21a0d1d
1 changed files with 1 additions and 2 deletions
|
@ -792,6 +792,5 @@ void EGLRenderer::renderFrame(AVFrame* frame)
|
|||
glFinish();
|
||||
}
|
||||
|
||||
if (frame->hw_frames_ctx != nullptr)
|
||||
m_Backend->freeEGLImages(m_EGLDisplay, imgs);
|
||||
m_Backend->freeEGLImages(m_EGLDisplay, imgs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue