mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Make unbound thumbnails render their own colour not a checkerboard
This commit is contained in:
@@ -588,11 +588,15 @@ void ReplayOutput::Display()
|
||||
{
|
||||
m_pDevice->BindOutputWindow(m_Thumbnails[i].outputID, false);
|
||||
|
||||
Vec4f dark = RenderDoc::Inst().DarkCheckerboardColor();
|
||||
Vec4f light = RenderDoc::Inst().LightCheckerboardColor();
|
||||
|
||||
color.x = light.x;
|
||||
color.y = dark.y;
|
||||
color.z = dark.z;
|
||||
color.w = 0.4f;
|
||||
m_pDevice->ClearOutputWindowColor(m_Thumbnails[i].outputID, color);
|
||||
|
||||
m_pDevice->RenderCheckerboard();
|
||||
|
||||
m_pDevice->FlipOutputWindow(m_Thumbnails[i].outputID);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user