Do not reuse gsg. This fixes fullscreen/window display switching problems.
This commit is contained in:
parent
567879b53a
commit
c734cfa1e3
|
|
@ -467,7 +467,7 @@ class ShowBase(DirectObject.DirectObject):
|
|||
|
||||
if gsg:
|
||||
win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
|
||||
props, flags, gsg)
|
||||
props, flags)
|
||||
else:
|
||||
win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
|
||||
props, flags)
|
||||
|
|
|
|||
Loading…
Reference in New Issue