Removed bad omp (it doesn't actually improve anything, i did my measurements wrong)

This commit is contained in:
Gabriel Ravier 2020-01-31 12:48:00 +01:00
parent 2adfef0035
commit f43bd4f876

View file

@ -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)];