diff --git a/renderdoc/driver/gl/gl_initstate.cpp b/renderdoc/driver/gl/gl_initstate.cpp index 3eedc8d51..bf00a74d9 100644 --- a/renderdoc/driver/gl/gl_initstate.cpp +++ b/renderdoc/driver/gl/gl_initstate.cpp @@ -1352,7 +1352,7 @@ bool GLResourceManager::Serialise_InitialState(SerialiserType &ser, ResourceId i // only continue with serialising the contents if the format is valid (storage allocated). // Otherwise this texture has no initial state to apply - if(TextureState.internalformat != eGL_NONE && !ser.IsErrored()) + if(TextureState.internalformat != eGL_NONE && !ser.IsErrored() && !IsStructuredExporting(m_State)) { WrappedOpenGL::TextureData &details = ser.IsWriting() ? m_Driver->m_Textures[id] : m_Driver->m_Textures[GetLiveID(id)];