Browse Source

show-tex-mem

David Rose 17 years ago
parent
commit
d36782fbd0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      direct/src/showbase/ShowBase.py

+ 2 - 0
direct/src/showbase/ShowBase.py

@@ -368,6 +368,8 @@ class ShowBase(DirectObject.DirectObject):
 
 
         if self.windowType != 'none':
         if self.windowType != 'none':
             self.__doStartDirect()
             self.__doStartDirect()
+            if self.config.GetBool('show-tex-mem', False):
+                self.toggleTexMem()
 
 
         taskMgr.finalInit()
         taskMgr.finalInit()