Browse Source

fix o4 issue

cxgeorge 24 years ago
parent
commit
882d3e691c
2 changed files with 3 additions and 2 deletions
  1. 2 1
      panda/src/dxgsg8/config_dxgsg8.cxx
  2. 1 1
      panda/src/dxgsg8/config_dxgsg8.h

+ 2 - 1
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);

+ 1 - 1
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.