diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-05 21:15:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-05 23:52:00 +0300 |
commit | 9874a6311c6b51247caed248cfcf2d2e72095923 (patch) | |
tree | 0a1810721ddf2cb6ed4e1740e8bcf3da1cd21171 /src/resources/sdlimagehelper.cpp | |
parent | 55d8a832786175c5ff9c9ab2eaa31296d342490a (diff) | |
download | mv-9874a6311c6b51247caed248cfcf2d2e72095923.tar.gz mv-9874a6311c6b51247caed248cfcf2d2e72095923.tar.bz2 mv-9874a6311c6b51247caed248cfcf2d2e72095923.tar.xz mv-9874a6311c6b51247caed248cfcf2d2e72095923.zip |
Remove support for CILK plus.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index 9cc9ba8f0..1d51bb4cc 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -247,7 +247,7 @@ Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) const uint8_t ashift = fmt->Ashift; const uint8_t aloss = fmt->Aloss; const uint32_t *pixels = static_cast<uint32_t*>(tmpImage->pixels); - cilk_for (size_t i = 0; i < sz; ++ i) + for (size_t i = 0; i < sz; ++ i) { const unsigned v = (pixels[i] & amask) >> ashift; const uint8_t a = static_cast<uint8_t>((v << aloss) |