Further refine GPU command list debugging.

This commit is contained in:
Tony Wasserka 2014-05-18 21:18:38 +02:00 committed by bunnei
parent b0051b2203
commit f82410e633
3 changed files with 27 additions and 4 deletions

View file

@ -100,6 +100,7 @@ public:
auto& cmd = cmdlist.back();
size_t size = 2 + header.extra_data_length;
size = (size + 1) / 2 * 2; // align to 8 bytes
cmd.reserve(size);
std::copy(parse_pointer, parse_pointer + size, std::back_inserter(cmd));