CommandBufferGL: Advance iterator for unimplemented commands

This commit is contained in:
Corentin Wallez 2017-06-05 16:23:51 -04:00 committed by Corentin Wallez
parent ca9af201b5
commit 72725eebf9
1 changed files with 3 additions and 0 deletions

View File

@ -66,12 +66,14 @@ namespace opengl {
switch (type) { switch (type) {
case Command::AdvanceSubpass: case Command::AdvanceSubpass:
{ {
commands.NextCommand<AdvanceSubpassCmd>();
// TODO(kainino@chromium.org): implement // TODO(kainino@chromium.org): implement
} }
break; break;
case Command::BeginRenderPass: case Command::BeginRenderPass:
{ {
commands.NextCommand<BeginRenderPassCmd>();
// TODO(kainino@chromium.org): implement // TODO(kainino@chromium.org): implement
} }
break; break;
@ -141,6 +143,7 @@ namespace opengl {
case Command::EndRenderPass: case Command::EndRenderPass:
{ {
commands.NextCommand<EndRenderPassCmd>();
// TODO(kainino@chromium.org): implement // TODO(kainino@chromium.org): implement
} }
break; break;