filter: Remove the silly dependency on the ShowBase instance

Closes #1302
This commit is contained in:
Sergei Korotkov 2022-05-10 12:07:44 +03:00 committed by rdb
parent 42a19860d5
commit e3cf5be500
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class FilterManager(DirectObject):
props.setAuxRgba(1)
if (auxtex1 != None):
props.setAuxRgba(2)
buffer=base.graphicsEngine.makeOutput(
buffer=self.engine.makeOutput(
self.win.getPipe(), name, -1,
props, winprops, GraphicsPipe.BFRefuseWindow | GraphicsPipe.BFResizeable,
self.win.getGsg(), self.win)