Ignore unbound texture resource overlay rendering

This commit is contained in:
Jake Turner committed 2023-07-06 15:51:33 +01:00
1 parent 66574fd2bb
commit a41a6931ba
1 file changed
+1 -1
+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;