changed the "dontcare" default of zbuffer to 24. 32 was causing windows to fallback...
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 20 Dec 2022 03:38:59 +0000 (05:38 +0200)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 20 Dec 2022 03:40:59 +0000 (05:40 +0200)
src/3dengfx/src/3dengfx/3denginefx.cpp

index 804eb56..e2333f2 100644 (file)
@@ -214,7 +214,7 @@ GraphicsInitParameters *load_graphics_context_config(const char *fname) {
                        if(cfgopt->flags & CFGOPT_INT) {
                                gip.depth_bits = cfgopt->int_value;
                        } else if(!strcmp(cfgopt->str_value, "dontcare")) {
-                               gip.depth_bits = 32;
+                               gip.depth_bits = 24;
                                gip.dont_care_flags |= DONT_CARE_DEPTH;
                        } else {
                                error("%s: error parsing config file %s", __func__, fname);