Fix status bar display of A8 textures

This commit is contained in:
baldurk
2019-10-25 18:29:30 +01:00
parent 343fbed90a
commit ee2a491f20
+3
View File
@@ -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 ");