summaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
authororangerot <orangerot@orangerot.dev>2025-10-14 08:21:09 +0200
committerorangerot <orangerot@orangerot.dev>2025-10-14 08:21:09 +0200
commit1be303f6f6927165f1fb804b790763a95529baed (patch)
tree00ffaca6774054d0f27a3cb59e6b3078a4a0f9a8 /game.c
parent2d359fb932c245267d3da8edbb479b549fc6cebb (diff)
feat: web export
Diffstat (limited to 'game.c')
-rw-r--r--game.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/game.c b/game.c
index 77ce70c..e50defb 100644
--- a/game.c
+++ b/game.c
@@ -1,4 +1,3 @@
-#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdint.h>
#include <stdio.h>
@@ -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++) {