diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-05-02 14:42:59 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-05-02 14:42:59 -0400 |
| commit | 08ddaa509e254c335a13417b157d4da23ea9314b (patch) | |
| tree | 1bdaf1a8058e3ab4fb95b4b2eae9f6200a7a2abf /ui.c | |
| parent | b28a5264c3193f8493f364f8ec6d0de3f0b5e5e1 (diff) | |
| download | volute-08ddaa509e254c335a13417b157d4da23ea9314b.zip | |
parallelize point drawing
Diffstat (limited to 'ui.c')
| -rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -539,7 +539,7 @@ draw_points(UI *ui) { int i; w_clear_canvas(&ui->comp_img); - /* TODO: parallelize? */ + #pragma omp parallel for for (i = 0; i < ui->npoints; i++) { draw_point(ui, i, POINT_COLOR); } |