mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-07 22:35:47 +00:00
Fix array size fetch for 1D array textures on GL
This commit is contained in:
@@ -2299,6 +2299,8 @@ void GLReplay::GetTextureData(ResourceId tex, uint32_t arrayIdx, uint32_t mip,
|
||||
// array size doesn't get mip'd down
|
||||
depth = 1;
|
||||
arraysize = texDetails.depth;
|
||||
if(texType == eGL_TEXTURE_1D_ARRAY)
|
||||
arraysize = texDetails.height;
|
||||
}
|
||||
|
||||
if(params.remap != RemapTexture::NoRemap)
|
||||
|
||||
Reference in New Issue
Block a user