summaryrefslogtreecommitdiff
path: root/src/libs/ray/ray_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/ray/ray_render.c')
-rw-r--r--src/libs/ray/ray_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/ray/ray_render.c b/src/libs/ray/ray_render.c
index 535b71a..9b36e6c 100644
--- a/src/libs/ray/ray_render.c
+++ b/src/libs/ray/ray_render.c
@@ -213,7 +213,7 @@ void ray_render_trace_fragment(ray_render_t *render, til_fb_fragment_t *fb_fragm
buf++;
} while (ray_camera_fragment_x_step(&fragment));
- buf = ((void *)buf) + fb_fragment->stride;
+ buf += fb_fragment->stride;
} while (ray_camera_fragment_y_step(&fragment));
}
© All Rights Reserved