diff options
-rw-r--r-- | include/blender/canvas.h | 2 | ||||
-rw-r--r-- | src/blender/canvas.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/blender/canvas.h b/include/blender/canvas.h index 7fb9fdd..fe74c5e 100644 --- a/include/blender/canvas.h +++ b/include/blender/canvas.h | |||
@@ -74,6 +74,6 @@ Color canvas_get_pixel(Canvas *canvas, CartesianVector position); | |||
74 | * Returns: | 74 | * Returns: |
75 | * The size of the canvas | 75 | * The size of the canvas |
76 | */ | 76 | */ |
77 | CartesianVector canvas_get_size(Canvas *canvas); | 77 | CartesianVector canvas_get_dim(Canvas *canvas); |
78 | 78 | ||
79 | #endif | 79 | #endif |
diff --git a/src/blender/canvas.c b/src/blender/canvas.c index 3710249..044ae97 100644 --- a/src/blender/canvas.c +++ b/src/blender/canvas.c | |||
@@ -18,6 +18,6 @@ Color canvas_get_pixel(Canvas *canvas, CartesianVector position) { | |||
18 | return (Color) {{r, g, b, a}}; | 18 | return (Color) {{r, g, b, a}}; |
19 | } | 19 | } |
20 | 20 | ||
21 | CartesianVector canvas_get_size(Canvas *canvas) { | 21 | CartesianVector canvas_get_dim(Canvas *canvas) { |
22 | return (CartesianVector) {MLV_get_image_width(canvas->mlv), MLV_get_image_height(canvas->mlv)}; | 22 | return (CartesianVector) {MLV_get_image_width(canvas->mlv), MLV_get_image_height(canvas->mlv)}; |
23 | } | 23 | } |