diff --git a/renderdoc/driver/gl/gl_debug.cpp b/renderdoc/driver/gl/gl_debug.cpp index c5985199e..cb0c2338f 100644 --- a/renderdoc/driver/gl/gl_debug.cpp +++ b/renderdoc/driver/gl/gl_debug.cpp @@ -971,7 +971,8 @@ bool GLReplay::GetMinMax(ResourceId texid, uint32_t sliceFace, uint32_t mip, uin { auto &texDetails = m_pDriver->m_Textures[texid]; - if(GetBaseFormat(texDetails.internalFormat) == eGL_DEPTH_STENCIL) + if(!IsCompressedFormat(texDetails.internalFormat) && + GetBaseFormat(texDetails.internalFormat) == eGL_DEPTH_STENCIL) { // for depth/stencil we need to run the code twice - once to fetch depth and once to fetch // stencil - since we can't process float depth and int stencil at the same time