Browse Source

Automatically enable stereo FBOs when stereo is enabled

rdb 11 years ago
parent
commit
1c25bb4ad8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/filter/FilterManager.py

+ 1 - 0
direct/src/filter/FilterManager.py

@@ -298,6 +298,7 @@ class FilterManager(DirectObject):
         props.setBackBuffers(0)
         props.setBackBuffers(0)
         props.setRgbColor(1)
         props.setRgbColor(1)
         props.setDepthBits(depthbits)
         props.setDepthBits(depthbits)
+        props.setStereo(self.win.isStereo())
         depthtex, colortex, auxtex0, auxtex1 = texgroup
         depthtex, colortex, auxtex0, auxtex1 = texgroup
         if (auxtex0 != None):
         if (auxtex0 != None):
             props.setAuxRgba(1)
             props.setAuxRgba(1)