From 9874a6311c6b51247caed248cfcf2d2e72095923 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 May 2018 21:15:28 +0300 Subject: Remove support for CILK plus. --- src/render/sdlgraphics.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/render') diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index 4671a2042..8e77cbf1e 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -947,7 +947,7 @@ void SDLGraphics::fillRectangle(const Rect &restrict rectangle) restrict2 switch (bpp) { case 1: - cilk_for (int y = y1; y < y2; y++) + for (int y = y1; y < y2; y++) { uint8_t *const p = static_cast(mWindow->pixels) + CAST_SIZE(y * mWindow->pitch); @@ -959,7 +959,7 @@ void SDLGraphics::fillRectangle(const Rect &restrict rectangle) restrict2 } break; case 2: - cilk_for (int y = y1; y < y2; y++) + for (int y = y1; y < y2; y++) { uint8_t *const p0 = static_cast(mWindow->pixels) + CAST_SIZE(y * mWindow->pitch); @@ -980,7 +980,7 @@ void SDLGraphics::fillRectangle(const Rect &restrict rectangle) restrict2 const int cg = mColor.g * mColor.a; const int cb = mColor.b * mColor.a; - cilk_for (int y = y1; y < y2; y++) + for (int y = y1; y < y2; y++) { uint8_t *const p0 = static_cast(mWindow->pixels) + CAST_SIZE(y * mWindow->pitch); @@ -1008,7 +1008,7 @@ void SDLGraphics::fillRectangle(const Rect &restrict rectangle) restrict2 const unsigned pr = (pixel & 0xff0000) * mColor.a; const unsigned a1 = (255 - mColor.a); - cilk_for (int y = y1; y < y2; y++) + for (int y = y1; y < y2; y++) { uint8_t *const p0 = static_cast(mWindow->pixels) + y * mWindow->pitch; @@ -1071,7 +1071,7 @@ void SDLGraphics::fillRectangle(const Rect &restrict rectangle) restrict2 mOldAlpha = mColor.a; } - cilk_for (int y = y1; y < y2; y++) + for (int y = y1; y < y2; y++) { uint32_t *const p0 = reinterpret_cast( static_cast(mWindow->pixels) -- cgit v1.2.3-60-g2f50