mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
don't drop gsg parameter to makeWindow()
This commit is contained in:
parent
ef1e941e73
commit
7c430582d2
@ -465,8 +465,12 @@ class ShowBase(DirectObject.DirectObject):
|
||||
elif type == 'offscreen':
|
||||
flags = flags | GraphicsPipe.BFRefuseWindow
|
||||
|
||||
win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
|
||||
props, flags)
|
||||
if gsg:
|
||||
win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
|
||||
props, flags, gsg)
|
||||
else:
|
||||
win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
|
||||
props, flags)
|
||||
|
||||
if win == None:
|
||||
# Couldn't create a window!
|
||||
|
Loading…
x
Reference in New Issue
Block a user