Ignore unbound texture resource overlay rendering

This commit is contained in:
Jake Turner
2023-07-06 14:08:03 +01:00
parent 66574fd2bb
commit a41a6931ba
+1 -1
View File
@@ -288,7 +288,7 @@ void ReplayOutput::RefreshOverlay()
{
ResourceId id = m_pDevice->GetLiveID(m_RenderData.texDisplay.resourceId);
if(action && m_pDevice->IsRenderOutput(id))
if(id != ResourceId() && action && m_pDevice->IsRenderOutput(id))
{
FloatVector f = m_RenderData.texDisplay.backgroundColor;