From f43bd4f8764e84b53baac0acb4e94bf2aa01d4b6 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Fri, 31 Jan 2020 12:48:00 +0100 Subject: [PATCH] Removed bad omp (it doesn't actually improve anything, i did my measurements wrong) --- src/Backends/Rendering/Software.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Backends/Rendering/Software.cpp b/src/Backends/Rendering/Software.cpp index 40b53fc5..1b194b4e 100644 --- a/src/Backends/Rendering/Software.cpp +++ b/src/Backends/Rendering/Software.cpp @@ -207,9 +207,6 @@ ATTRIBUTE_HOT void Backend_Blit(Backend_Surface *source_surface, const RECT *rec // Do the actual blitting if (colour_key) { -#ifdef USE_OPENMP -#pragma omp for -#endif for (long j = 0; j < rect_clamped.bottom - rect_clamped.top; ++j) { unsigned char *source_pointer = &source_surface->pixels[((rect_clamped.top + j) * source_surface->pitch) + (rect_clamped.left * 3)];