From 385d4d8345dac82f50099fa6e61c4ce38326822c Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 15 Oct 2020 01:03:56 -0400 Subject: [PATCH] Missed an increment... --- mojoshader_d3d11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojoshader_d3d11.c b/mojoshader_d3d11.c index f90e387..a0c6e76 100644 --- a/mojoshader_d3d11.c +++ b/mojoshader_d3d11.c @@ -217,7 +217,7 @@ static void update_uniform_buffer(MOJOSHADER_d3d11Shader *shader) needsUpdate = 1; vecDst[j * 4] = regB[idx + j]; } // if - } while (j < arrayCount); + } while (++j < arrayCount); offset += size; continue; // Skip the rest, do NOT break!