From 1be303f6f6927165f1fb804b790763a95529baed Mon Sep 17 00:00:00 2001 From: orangerot Date: Tue, 14 Oct 2025 08:21:09 +0200 Subject: feat: web export --- game.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'game.c') diff --git a/game.c b/game.c index 77ce70c..e50defb 100644 --- a/game.c +++ b/game.c @@ -1,4 +1,3 @@ -#include #include #include #include @@ -40,7 +39,7 @@ void mouse_button_callback(int button, int action, int mods) { } void draw_image(decoded_image img) { - // for (int i = 0; i < img.buf_size; i++) img.buf[i] = i; + for (int i = 0; i < img.buf_size; i++) img.buf[i] = i; for (int y = 0; y < DOMINO_HEIGHT; y++) { for (int x = 0; x < DOMINO_WIDTH; x++) { -- cgit v1.2.3