From b4527edbcc812746207c03be75e0353c5e0a9067 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Thu, 15 Aug 2024 04:32:40 -0400 Subject: [PATCH] No more bit depth required --- maze.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/maze.c b/maze.c index b6df309..485a29b 100644 --- a/maze.c +++ b/maze.c @@ -16,11 +16,7 @@ #define DITHERSTART -1 #define DITHEREND 8 #define TARGETFPS 60 -#define SECPERFRAME 1.0 / TARGETFPS - -// IDK you probably have to change this based on your display. -// Maybe there's a way to fix this? -#define UNIGIBITDEPTH 32 +#define SECPERFRAME (1.0 / TARGETFPS) #define WIDTH 640 #define HEIGHT 480 @@ -86,7 +82,7 @@ int main() { // int argc, char **argv) { unigi_type_resolution res; res.width = WIDTH; res.height = HEIGHT; - res.depth = UNIGIBITDEPTH; + res.depth = 0; int totaldrawn = 0;