diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index f50ab5e651..46c834132c 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -133,6 +133,7 @@ class ShowBase(DirectObject.DirectObject): # Give the window a chance to truly open. self.graphicsEngine.renderFrame() + self.graphicsEngine.renderFrame() if self.win.isClosed(): self.notify.info("Window did not open, removing.") self.closeWindow(self.win) @@ -145,6 +146,7 @@ class ShowBase(DirectObject.DirectObject): self.pipe = self.pipeList[0] self.openMainWindow() + self.graphicsEngine.renderFrame() self.graphicsEngine.renderFrame() if self.win.isClosed(): self.notify.info("Window did not open, removing.")