mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
insert activecontext's window pointer in VR swapbuffer
This commit is contained in:
@@ -219,9 +219,7 @@ void WrappedOpenGL::HandleVRFrameMarkers(const GLchar *buf, GLsizei length)
|
||||
{
|
||||
if(strstr(buf, "vr-marker,frame_end,type,application") != NULL)
|
||||
{
|
||||
void *ctx = NULL, *wnd = NULL;
|
||||
RenderDoc::Inst().GetActiveWindow(ctx, wnd);
|
||||
SwapBuffers(wnd);
|
||||
SwapBuffers((void *)m_ActiveContexts[Threading::GetCurrentID()].wnd);
|
||||
m_UsesVRMarkers = true;
|
||||
|
||||
if(IsActiveCapturing(m_State))
|
||||
|
||||
Reference in New Issue
Block a user