mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Use Formatter::Format for formatting hex numbers
This commit is contained in:
@@ -521,7 +521,7 @@ private:
|
||||
s += lit("\nD: -");
|
||||
|
||||
if(val.stencil >= 0)
|
||||
s += lit("\nS: 0x") + QFormatStr("%1").arg(val.stencil, 2, 16, QLatin1Char('0')).toUpper();
|
||||
s += lit("\nS: 0x") + Formatter::Format(uint8_t(val.stencil & 0xff), true);
|
||||
else if(val.stencil == -2)
|
||||
s += lit("\nS: ?");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user