No more bit depth required

This commit is contained in:
Carlos Sanchez 2024-08-15 04:32:40 -04:00
parent 3aff6375a8
commit b4527edbcc

8
maze.c
View File

@ -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;