Fixing tracing of games that do everything in nested indirect buffers.

This commit is contained in:
Ben Vanik
2015-03-06 22:27:41 -08:00
parent 14c6fbfba4
commit 05239daecf
3 changed files with 9 additions and 6 deletions

View File

@@ -665,7 +665,7 @@ class TraceReader {
break;
}
}
if (pending_break) {
if (pending_break || current_frame.command_count) {
current_frame.end_ptr = trace_ptr;
frames_.push_back(std::move(current_frame));
}