From 72725eebf94f84a8373cbf6eabc5d1da2ffd8d16 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 5 Jun 2017 16:23:51 -0400 Subject: [PATCH] CommandBufferGL: Advance iterator for unimplemented commands --- src/backend/opengl/CommandBufferGL.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/opengl/CommandBufferGL.cpp b/src/backend/opengl/CommandBufferGL.cpp index 0c808ae2b5..876d616eaf 100644 --- a/src/backend/opengl/CommandBufferGL.cpp +++ b/src/backend/opengl/CommandBufferGL.cpp @@ -66,12 +66,14 @@ namespace opengl { switch (type) { case Command::AdvanceSubpass: { + commands.NextCommand(); // TODO(kainino@chromium.org): implement } break; case Command::BeginRenderPass: { + commands.NextCommand(); // TODO(kainino@chromium.org): implement } break; @@ -141,6 +143,7 @@ namespace opengl { case Command::EndRenderPass: { + commands.NextCommand(); // TODO(kainino@chromium.org): implement } break;