Fix plane winding;

This commit is contained in:
bjorn 2022-07-03 20:07:00 -07:00
parent 1a1026bc0f
commit 4f15e7e34a
1 changed files with 1 additions and 1 deletions

View File

@ -3682,7 +3682,7 @@ void lovrPassPlane(Pass* pass, float* transform, DrawStyle style, uint32_t cols,
uint16_t b = a + 1;
uint16_t c = a + cols + 1;
uint16_t d = a + cols + 2;
uint16_t cell[] = { a, b, c, c, b, d };
uint16_t cell[] = { a, c, b, b, c, d };
memcpy(indices, cell, sizeof(cell));
indices += COUNTOF(cell);
}