mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 22:46:41 +00:00
Fix status bar display of A8 textures
This commit is contained in:
@@ -995,6 +995,9 @@ void TextureViewer::UI_UpdateStatusText()
|
||||
pickedText += tr(" (Real: ");
|
||||
}
|
||||
|
||||
if(tex.format.type == ResourceFormatType::A8)
|
||||
val.floatValue[0] = val.floatValue[3];
|
||||
|
||||
if(dsv)
|
||||
{
|
||||
pickedText += tr("Depth ");
|
||||
|
||||
Reference in New Issue
Block a user