diff --git a/panda/src/dxgsg9/config_dxgsg9.cxx b/panda/src/dxgsg9/config_dxgsg9.cxx index 17352cf218..840d0ce336 100755 --- a/panda/src/dxgsg9/config_dxgsg9.cxx +++ b/panda/src/dxgsg9/config_dxgsg9.cxx @@ -135,6 +135,12 @@ ConfigVariableBool link_tristrips ConfigVariableBool dx_management ("dx-management", true); +// valid only if dx_management == false +// true = use DirectX management of texture memory +// false = lru will manage texture memory +ConfigVariableBool dx_texture_management +("dx-texture-management", true); + // valid only if dx_management == false // true = enable LRU management of video memory // false = no video memory management diff --git a/panda/src/dxgsg9/config_dxgsg9.h b/panda/src/dxgsg9/config_dxgsg9.h index 5ae2cea11c..14d038aed1 100755 --- a/panda/src/dxgsg9/config_dxgsg9.h +++ b/panda/src/dxgsg9/config_dxgsg9.h @@ -62,6 +62,7 @@ extern ConfigVariableBool dx_debug_view_mipmaps; // LRU configuration variables extern ConfigVariableBool dx_management; +extern ConfigVariableBool dx_texture_management; extern ConfigVariableBool dx_lru_management; extern ConfigVariableInt dx_lru_maximum_pages; extern ConfigVariableInt dx_lru_free_memory_requirement;