Removed bad omp (it doesn't actually improve anything, i did my measurements wrong)
This commit is contained in:
parent
2adfef0035
commit
f43bd4f876
1 changed files with 0 additions and 3 deletions
|
@ -207,9 +207,6 @@ ATTRIBUTE_HOT void Backend_Blit(Backend_Surface *source_surface, const RECT *rec
|
||||||
// Do the actual blitting
|
// Do the actual blitting
|
||||||
if (colour_key)
|
if (colour_key)
|
||||||
{
|
{
|
||||||
#ifdef USE_OPENMP
|
|
||||||
#pragma omp for
|
|
||||||
#endif
|
|
||||||
for (long j = 0; j < rect_clamped.bottom - rect_clamped.top; ++j)
|
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)];
|
unsigned char *source_pointer = &source_surface->pixels[((rect_clamped.top + j) * source_surface->pitch) + (rect_clamped.left * 3)];
|
||||||
|
|
Loading…
Add table
Reference in a new issue