From 2bafc8bc0e6f591e64b93c5f0f6771cbd5a39d4f Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 20 Dec 2022 05:38:59 +0200 Subject: [PATCH] changed the "dontcare" default of zbuffer to 24. 32 was causing windows to fallback to software rendering. --- src/3dengfx/src/3dengfx/3denginefx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3dengfx/src/3dengfx/3denginefx.cpp b/src/3dengfx/src/3dengfx/3denginefx.cpp index 804eb56..e2333f2 100644 --- a/src/3dengfx/src/3dengfx/3denginefx.cpp +++ b/src/3dengfx/src/3dengfx/3denginefx.cpp @@ -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); -- 1.7.10.4