Browse Source

Do not reuse gsg. This fixes fullscreen/window display switching problems.

aignacio_sf 19 years ago
parent
commit
c734cfa1e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -467,7 +467,7 @@ class ShowBase(DirectObject.DirectObject):
 
 
         if gsg:
         if gsg:
             win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
             win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
-                                                 props, flags, gsg)
+                                                 props, flags)
         else:
         else:
             win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
             win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
                                                  props, flags)
                                                  props, flags)