From 8f508b6cd8d28f3c9ffd0a4f265e7a253a1e0d4a Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 31 Oct 2024 11:59:12 +0100 Subject: [PATCH] try speed this up slightly --- src/hardware/hw_batching.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hardware/hw_batching.c b/src/hardware/hw_batching.c index b322ea3a7..c2b156f52 100644 --- a/src/hardware/hw_batching.c +++ b/src/hardware/hw_batching.c @@ -264,6 +264,7 @@ void HWR_RenderBatches(void) = ps_hw_numpolyflags.value.i = ps_hw_numcolors.value.i = 1; // init polygonArraySorted + #pragma omp simd for (i = 0; i < polygonArraySize; i++) { polygonArraySorted[i] = &polygonArray[i];