From 5f9e2152dafafee7231b9a5195466e63e9bccae7 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 11 Jan 2012 10:45:00 +0000 Subject: [PATCH] Revert my previous commit here, as it breaks postprocessing filters that use auxiliary render targets (like cartoon shading) --- direct/src/filter/FilterManager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/filter/FilterManager.py b/direct/src/filter/FilterManager.py index 08bd648587..bde9b7a53c 100644 --- a/direct/src/filter/FilterManager.py +++ b/direct/src/filter/FilterManager.py @@ -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 +