mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-10 09:46:09 +00:00
Remove errant assert to fix software decoding on Xe
This commit is contained in:
@@ -388,8 +388,10 @@ void DrmRenderer::prepareToRender()
|
||||
|
||||
void DrmRenderer::cleanupRenderContext()
|
||||
{
|
||||
// This must only be called after prepareToRender()
|
||||
SDL_assert(m_DrmStateModified);
|
||||
// We might be called without prepareToRender() if we fail during decoder testing
|
||||
if (!m_DrmStateModified) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If we have a composition surface, unmap it before disabling planes
|
||||
if (m_OverlayCompositionSurface) {
|
||||
|
||||
Reference in New Issue
Block a user