summaryrefslogtreecommitdiff
path: root/examples/triangles.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/triangles.c')
-rw-r--r--examples/triangles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/triangles.c b/examples/triangles.c
index f995574..8515a28 100644
--- a/examples/triangles.c
+++ b/examples/triangles.c
@@ -31,7 +31,7 @@ void draw_frame(sponge_Texture c) {
c,
x, y + offset_y,
x + offset_x, y,
- x + (offset_x / 4), y + (offset_y / 4),
+ x + (offset_x * 3 / 4), y + (offset_y * 3 / 4),
0xFFFF0000, 0xFF00FF00, 0xFF0000FF);
}
}