mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-30 01:25:55 +00:00
Fix mismatched GLMarkerRegion after changing context
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user