When viewing a texture from pipeline state, default to view typecast

This commit is contained in:
baldurk
2020-10-30 12:28:55 +00:00
parent b8f647c1e6
commit 695ffaaf24
8 changed files with 57 additions and 18 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ void ResourceInspector::on_viewContents_clicked()
if(!m_Ctx.HasTextureViewer())
m_Ctx.ShowTextureViewer();
ITextureViewer *viewer = m_Ctx.GetTextureViewer();
viewer->ViewTexture(tex->resourceId, true);
viewer->ViewTexture(tex->resourceId, CompType::Typeless, true);
}
}
else if(buf)