summaryrefslogtreecommitdiff
path: root/src/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/main.c')
-rw-r--r--src/main/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/main.c b/src/main/main.c
index 20a2a72..76876f0 100644
--- a/src/main/main.c
+++ b/src/main/main.c
@@ -31,8 +31,7 @@ void draw_frame() {
int main(void) {
engine_init(WIDTH, HEIGHT);
ui_set_title("Tris Game");
- ui_set_loop_listener(draw_frame);
- ui_loop();
+ engine_loop(draw_frame);
return EXIT_SUCCESS;
}