Revert my previous commit here, as it breaks postprocessing filters that use auxiliary render targets (like cartoon shading)

This commit is contained in:
rdb 2012-01-11 10:45:00 +00:00
parent 7fd4c1cc18
commit 5f9e2152da
1 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,8 @@ class FilterManager(DirectObject):
winprops = WindowProperties()
winprops.setSize(xsize, ysize)
props = FrameBufferProperties(self.win.getFbProperties())
props = FrameBufferProperties()
props.setRgbColor(1)
props.setDepthBits(depthbits)
depthtex, colortex, auxtex0, auxtex1 = texgroup
if (auxtex0 != None):
@ -331,3 +332,4 @@ class FilterManager(DirectObject):
self.nextsort = self.win.getSort() - 1000
self.basex = 0
self.basey = 0