summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics.c b/graphics.c
index 8fceb1e..72089fc 100644
--- a/graphics.c
+++ b/graphics.c
@@ -34,14 +34,14 @@ main() {
.centerX = width / 2, .centerY = height / 2,
}),
Square_setup((Square){
- .width = 100, .height = 100, .color = 0xFFFFFF00,
+ .size = 100, .color = 0xFFFFFF00,
}),
NULL,
TransformRotate_setup((TransformRotate){
.angle = M_PI / 8,
}),
Square_setup((Square){
- .width = 200, .height = 200, .color = 0xFF00FFFF,
+ .size = 200, .color = 0xFF00FFFF,
}),
NULL,
TransformCenter_setup((TransformCenter){