Skip to content

Commit

Permalink
Missing for token for openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Apr 20, 2024
1 parent 6f00652 commit a332467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/gdcef/gdcef/src/gdbrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ void GDBrowserView::onPaint(CefRefPtr<CefBrowser> /*browser*/,
//concurrency::parallel_for(0, height,
// std::bind(doCopyLine, std::placeholders::_1, 0, width));

#pragma omp parallel
#pragma omp parallel for
for (int y = 0; y < height; ++y)
{
doCopyLine(y, 0, width);
Expand All @@ -235,7 +235,7 @@ void GDBrowserView::onPaint(CefRefPtr<CefBrowser> /*browser*/,
//concurrency::parallel_for(rect.y, rect.y + rect.height,
// std::bind(doCopyLine, std::placeholders::_1, rect.x, rect.width));

#pragma omp parallel
#pragma omp parallel for
for (int y = rect.y; y < rect.y + rect.height; ++y)
{
doCopyLine(y, rect.x, rect.width);
Expand Down

0 comments on commit a332467

Please sign in to comment.