diff options
-rw-r--r-- | src/blender/canvas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blender/canvas.c b/src/blender/canvas.c index 044ae97..b7cd9dc 100644 --- a/src/blender/canvas.c +++ b/src/blender/canvas.c | |||
@@ -9,7 +9,7 @@ void canvas_free(Canvas *canvas) { | |||
9 | } | 9 | } |
10 | 10 | ||
11 | void canvas_set_pixel(Canvas *canvas, CartesianVector position, Color color) { | 11 | void canvas_set_pixel(Canvas *canvas, CartesianVector position, Color color) { |
12 | MLV_set_pixel_on_image(position.x, position.x, color.mlv, canvas->mlv); | 12 | MLV_set_pixel_on_image(position.x, position.y, color.mlv, canvas->mlv); |
13 | } | 13 | } |
14 | 14 | ||
15 | Color canvas_get_pixel(Canvas *canvas, CartesianVector position) { | 15 | Color canvas_get_pixel(Canvas *canvas, CartesianVector position) { |