Fix mismatched GLMarkerRegion after changing context

This commit is contained in:
baldurk
2020-01-16 23:06:23 +00:00
parent 08b2572554
commit a1e662eb30
+2 -2
View File
@@ -146,10 +146,10 @@ void GLReplay::InitPostVSBuffers(uint32_t eventId)
if(m_pDriver->IsUnsafeDraw(eventId))
return;
GLMarkerRegion postvs(StringFormat::Fmt("PostVS for %u", eventId));
MakeCurrentReplayContext(&m_ReplayCtx);
GLMarkerRegion postvs(StringFormat::Fmt("PostVS for %u", eventId));
WrappedOpenGL &drv = *m_pDriver;
if(drv.m_ActiveFeedback)
{