diff --git a/renderdoc/driver/gl/gl_driver.cpp b/renderdoc/driver/gl/gl_driver.cpp index a73d4506e..d6cb05cea 100644 --- a/renderdoc/driver/gl/gl_driver.cpp +++ b/renderdoc/driver/gl/gl_driver.cpp @@ -2079,6 +2079,14 @@ bool WrappedOpenGL::EndFrameCapture(void *dev, void *wnd) AttemptCapture(); BeginCaptureFrame(); + + // serialise out the context configuration for this current context first + { + USE_SCRATCH_SERIALISER(); + SCOPED_SERIALISE_CHUNK(GLChunk::ContextConfiguration); + Serialise_ContextConfiguration(ser, GetCtx().ctx); + GetContextRecord()->AddChunk(scope.Get()); + } } if(switchctx.ctx != prevctx.ctx)