mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-24 13:41:14 +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()
|
void DrmRenderer::cleanupRenderContext()
|
||||||
{
|
{
|
||||||
// This must only be called after prepareToRender()
|
// We might be called without prepareToRender() if we fail during decoder testing
|
||||||
SDL_assert(m_DrmStateModified);
|
if (!m_DrmStateModified) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// If we have a composition surface, unmap it before disabling planes
|
// If we have a composition surface, unmap it before disabling planes
|
||||||
if (m_OverlayCompositionSurface) {
|
if (m_OverlayCompositionSurface) {
|
||||||
|
|||||||
Reference in New Issue
Block a user