diff --git a/panda/src/dxgsg8/config_dxgsg8.cxx b/panda/src/dxgsg8/config_dxgsg8.cxx index cd723f54ee..a20f4ce265 100644 --- a/panda/src/dxgsg8/config_dxgsg8.cxx +++ b/panda/src/dxgsg8/config_dxgsg8.cxx @@ -82,10 +82,11 @@ bool dx_no_dithering = config_dxgsg.GetBool("dx-no-dithering", false); #ifdef _DEBUG float dx_global_miplevel_bias = config_dxgsg.GetFloat("dx-global-miplevel-bias", 0.0); bool dx_debug_view_mipmaps = config_dxgsg.GetBool("dx-debug-view-mipmaps", false); -bool dx_force_anisotropic_filtering = config_dxgsg.GetBool("dx-force-anisotropic-filtering", false); //int dx_print_texstats = config_dxgsg.GetBool("dx-print-texstats", 0); #endif +bool dx_force_anisotropic_filtering = config_dxgsg.GetBool("dx-force-anisotropic-filtering", false); + // set 'retained-mode #t' and this to have prepare_geom concatenate all tristrips within a geom // together using degenerate tris const bool link_tristrips = config_dxgsg.GetBool("link-tristrips", false); diff --git a/panda/src/dxgsg8/config_dxgsg8.h b/panda/src/dxgsg8/config_dxgsg8.h index 8b859a605d..f0d69d2928 100644 --- a/panda/src/dxgsg8/config_dxgsg8.h +++ b/panda/src/dxgsg8/config_dxgsg8.h @@ -45,6 +45,7 @@ extern bool dx_mipmap_everything; extern bool dx_show_transforms; extern bool dx_force_16bpptextures; extern bool dx_no_dithering; +extern bool dx_force_anisotropic_filtering; #ifndef NDEBUG extern int dx_force_backface_culling; @@ -53,7 +54,6 @@ extern int dx_force_backface_culling; #ifdef _DEBUG extern float dx_global_miplevel_bias; extern bool dx_debug_view_mipmaps; -extern bool dx_force_anisotropic_filtering; #endif // Ways to implement decals.