mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-20 15:27:17 +00:00
Remove errant assert to fix software decoding on Xe
This commit is contained in:
1 parent
a9a1ea0a0b
commit
4ec682dc72
1 file changed
+4
-2
@@ -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