mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Enable multisampling in FilterManager if main window had multisampling as well
This commit is contained in:
parent
b24adbcad1
commit
52e79afd4a
@ -283,7 +283,7 @@ class FilterManager(DirectObject):
|
|||||||
|
|
||||||
winprops = WindowProperties()
|
winprops = WindowProperties()
|
||||||
winprops.setSize(xsize, ysize)
|
winprops.setSize(xsize, ysize)
|
||||||
props = FrameBufferProperties()
|
props = FrameBufferProperties(self.win.getFbProperties())
|
||||||
props.setRgbColor(1)
|
props.setRgbColor(1)
|
||||||
props.setDepthBits(depthbits)
|
props.setDepthBits(depthbits)
|
||||||
depthtex, colortex, auxtex0, auxtex1 = texgroup
|
depthtex, colortex, auxtex0, auxtex1 = texgroup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user