mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +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()
|
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