mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Include min/max depth in string format of D3D11_VIEWPORT
This commit is contained in:
@@ -998,8 +998,8 @@ void Serialiser::Serialise(const char *name, D3D11_SUBRESOURCE_DATA &el)
|
||||
string ToStrHelper<false, D3D11_VIEWPORT>::Get(const D3D11_VIEWPORT &el)
|
||||
{
|
||||
char tostrBuf[256] = {0};
|
||||
StringFormat::snprintf(tostrBuf, 255, "Viewport<%.0fx%.0f+%.0f+%.0f>", el.Width, el.Height,
|
||||
el.TopLeftX, el.TopLeftY);
|
||||
StringFormat::snprintf(tostrBuf, 255, "Viewport<%.0fx%.0f+%.0f+%.0f z=%f->%f>", el.Width,
|
||||
el.Height, el.TopLeftX, el.TopLeftY, el.MinDepth, el.MaxDepth);
|
||||
|
||||
return tostrBuf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user