mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-29 00:55:51 +00:00
Mesh Viewer: end TF if captured app already used TF on its draw call.
This commit is contained in:
@@ -3363,6 +3363,9 @@ void GLReplay::InitPostVSBuffers(uint32_t eventID)
|
||||
void *ctx = m_ReplayCtx.ctx;
|
||||
|
||||
WrappedOpenGL &gl = *m_pDriver;
|
||||
if(gl.m_ActiveFeedback)
|
||||
gl.glEndTransformFeedback();
|
||||
|
||||
GLResourceManager *rm = m_pDriver->GetResourceManager();
|
||||
|
||||
GLRenderState rs(&gl.GetHookset(), NULL, READING);
|
||||
|
||||
Reference in New Issue
Block a user