diff --git a/Common/GPU/OpenGL/GLQueueRunner.cpp b/Common/GPU/OpenGL/GLQueueRunner.cpp index 7776d7da4d..642db6a143 100644 --- a/Common/GPU/OpenGL/GLQueueRunner.cpp +++ b/Common/GPU/OpenGL/GLQueueRunner.cpp @@ -617,6 +617,7 @@ void GLQueueRunner::RunSteps(const std::vector &steps, bool skipGLCal }; int invalidateAllMask = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT; + /* for (int j = 0; j < (int)steps.size() - 1; ++j) { GLRStep &primaryStep = *steps[j]; if (primaryStep.stepType == GLRStepType::RENDER) { @@ -648,7 +649,7 @@ void GLQueueRunner::RunSteps(const std::vector &steps, bool skipGLCal primaryStep.commands.push_back(data); } } - } + }*/ CHECK_GL_ERROR_IF_DEBUG(); size_t renderCount = 0; diff --git a/Common/GPU/OpenGL/GLQueueRunner.h b/Common/GPU/OpenGL/GLQueueRunner.h index 742f885768..79559c4d4d 100644 --- a/Common/GPU/OpenGL/GLQueueRunner.h +++ b/Common/GPU/OpenGL/GLQueueRunner.h @@ -136,7 +136,7 @@ struct GLRRenderData { int16_t scissorY; int16_t scissorW; int16_t scissorH; - } clear; + } clear; // also used for invalidate struct { int slot; GLRTexture *texture;