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;