mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
one pipe, multiple windows
This commit is contained in:
parent
e3d04fd248
commit
f96387e291
@ -183,16 +183,17 @@ class ShowBase:
|
|||||||
of windows that are to be updated every frame.
|
of windows that are to be updated every frame.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
pipe = makeGraphicsPipe()
|
|
||||||
chanConfig = makeGraphicsWindow(pipe, self.render.arc())
|
|
||||||
win = chanConfig.getWin()
|
|
||||||
|
|
||||||
if self.pipe == None:
|
if self.pipe == None:
|
||||||
self.pipe = pipe
|
self.pipe = makeGraphicsPipe()
|
||||||
|
self.pipeList.append(self.pipe)
|
||||||
|
|
||||||
|
chanConfig = makeGraphicsWindow(self.pipe, self.render.arc())
|
||||||
|
win = chanConfig.getWin()
|
||||||
|
|
||||||
if self.win == None:
|
if self.win == None:
|
||||||
self.win = win
|
self.win = win
|
||||||
|
|
||||||
self.pipeList.append(pipe)
|
|
||||||
self.winList.append(win)
|
self.winList.append(win)
|
||||||
|
|
||||||
self.getCameras(chanConfig)
|
self.getCameras(chanConfig)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user