mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 21:26:12 +00:00
Don't pass around string name of ResourceFormat, request it when needed
This commit is contained in:
@@ -1026,7 +1026,7 @@ void TextureViewer::UI_UpdateTextureDetails()
|
||||
|
||||
status += QFormatStr(" %1 mips").arg(current.mips);
|
||||
|
||||
status += lit(" - ") + ToQStr(current.format.strname);
|
||||
status += lit(" - ") + current.format.Name();
|
||||
|
||||
if(current.format.compType != m_TexDisplay.typeHint && m_TexDisplay.typeHint != CompType::Typeless)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user