mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Update qrenderdoc for API changes
This commit is contained in:
@@ -73,7 +73,7 @@ TextureSaveDialog::TextureSaveDialog(const FetchTexture &t, const TextureSave &s
|
||||
|
||||
const char *cubeFaces[] = {"X+", "X-", "Y+", "Y-", "Z+", "Z-"};
|
||||
|
||||
uint32_t numSlices = (qMax(1U, tex.depth) * tex.numSubresources) / tex.mips;
|
||||
uint32_t numSlices = qMax(tex.arraysize, tex.depth);
|
||||
|
||||
for(uint32_t i = 0; i < numSlices; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user