mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
make sure pp-filter gets the same fb props as the main win - fixes antialiasing failure with FilterManager
This commit is contained in:
parent
306d6f993a
commit
7eeb37ec94
@ -276,8 +276,7 @@ class FilterManager(DirectObject):
|
||||
|
||||
winprops = WindowProperties()
|
||||
winprops.setSize(xsize, ysize)
|
||||
props = FrameBufferProperties()
|
||||
props.setRgbColor(1)
|
||||
props = FrameBufferProperties(self.win.getFbProperties())
|
||||
props.setDepthBits(depthbits)
|
||||
depthtex, colortex, auxtex0, auxtex1 = texgroup
|
||||
if (auxtex0 != None):
|
||||
@ -332,4 +331,3 @@ class FilterManager(DirectObject):
|
||||
self.nextsort = self.win.getSort() - 1000
|
||||
self.basex = 0
|
||||
self.basey = 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user