mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 00:03:42 +00:00
Make sure unmap chunk isn't lost and goes in buffer record
* If we're ignoring a map it's marked correctly as dirty, but otherwise a buffer could be mapped once then not touched, not become dirty, and so we need the unmap chunk in its record.
This commit is contained in:
1 parent
d90f8f0d41
commit
99c6719928
1 file changed
+2
@@ -1452,7 +1452,9 @@ GLboolean WrappedOpenGL::glUnmapNamedBufferEXT(GLuint buffer)
|
||||
}
|
||||
else
|
||||
{
|
||||
SCOPED_SERIALISE_CONTEXT(UNMAP);
|
||||
Serialise_glUnmapNamedBufferEXT(buffer);
|
||||
record->AddChunk(scope.Get());
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user