summaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
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++) {