Sfoglia il codice sorgente

makeOutput() parameter list has changed

David Rose 19 anni fa
parent
commit
898f587386
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      direct/src/showbase/ShowBase.py

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

@@ -447,7 +447,7 @@ class ShowBase(DirectObject.DirectObject):
             flags = flags | GraphicsPipe.BFRefuseWindow
 
         win = self.graphicsEngine.makeOutput(pipe, name, 0, fbprops,
-                                             props.getXSize(), props.getYSize(), flags)
+                                             props, flags)
 
         if win == None:
             # Couldn't create a window!