Add resource record parent for VAO when binding buffer

This commit is contained in:
baldurk committed 2014-12-03 18:16:50 +00:00
1 parent d30ce5d6b2
commit c7576d8a7f
1 file changed
+2
@@ -172,6 +172,8 @@ void WrappedOpenGL::glBindBuffer(GLenum target, GLuint buffer)
Serialise_glVertexArrayElementBuffer(vao, buffer);
m_VertexArrayRecord->AddChunk(scope.Get());
m_VertexArrayRecord->AddParent(r);
}
// store as transform feedback record state