Re-enable thumbnails and pixel context, as multiple swap chains work now

This commit is contained in:
baldurk
2015-10-02 10:25:13 +02:00
parent 389894d4be
commit 4ed49079d1
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -234,7 +234,6 @@ bool ReplayOutput::SetPixelContext(void *wnd)
bool ReplayOutput::AddThumbnail(void *wnd, ResourceId texID)
{
/*
OutputPair p;
RDCASSERT(wnd);
@@ -273,7 +272,7 @@ bool ReplayOutput::AddThumbnail(void *wnd, ResourceId texID)
RDCASSERT(p.outputID > 0);
m_Thumbnails.push_back(p);
*/
return true;
}
+1 -1
View File
@@ -976,7 +976,7 @@ namespace renderdocui.Windows
m_Core.Renderer.BeginInvoke((ReplayRenderer r) =>
{
m_Output = r.CreateOutput(renderHandle);
//m_Output.SetPixelContext(contextHandle);
m_Output.SetPixelContext(contextHandle);
m_Output.SetOutputConfig(outConfig);
this.BeginInvoke(new Action(UI_CreateThumbnails));