Fix array size fetch for 1D array textures on GL

This commit is contained in:
baldurk
2019-11-15 17:25:34 +00:00
parent 048136fa2d
commit 57f4e28be6
+2
View File
@@ -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)