mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Ignore unbound texture resource overlay rendering
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user