Increment the index so we don't spin forever in the OpenGL standalone renderer

#jira UE-78459
#rb none


#ROBOMERGE-SOURCE: CL 8746920 via CL 8746963 via CL 8781976
#ROBOMERGE-BOT: (v422-8689730)

[CL 8784030 by brandon schaefer in Main branch]
This commit is contained in:
brandon schaefer
2019-09-17 19:17:54 -04:00
parent a4ead2b9de
commit fa28c5f4eb

View File

@@ -183,6 +183,8 @@ void FSlateOpenGLRenderingPolicy::DrawElements( const FMatrix& ViewProjectionMat
{
const FSlateRenderBatch& RenderBatch = RenderBatches[NextRenderBatchIndex];
NextRenderBatchIndex = RenderBatch.NextBatchIndex;
const FSlateShaderResource* ShaderResource = RenderBatch.GetShaderResource();
const ESlateBatchDrawFlag DrawFlags = RenderBatch.GetDrawFlags();