mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
bandaid around race condition
This commit is contained in:
parent
6854e21423
commit
a821755936
@ -1533,7 +1533,9 @@ draw_bins(const GraphicsEngine::Windows &wlist, Thread *current_thread) {
|
||||
void GraphicsEngine::
|
||||
draw_bins(GraphicsOutput *win, DisplayRegion *dr, Thread *current_thread) {
|
||||
GraphicsStateGuardian *gsg = win->get_gsg();
|
||||
nassertv(gsg != (GraphicsStateGuardian *)NULL);
|
||||
if (gsg == (GraphicsStateGuardian *)NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
PT(CullResult) cull_result = dr->get_cull_result(current_thread);
|
||||
PT(SceneSetup) scene_setup = dr->get_scene_setup(current_thread);
|
||||
|
Loading…
x
Reference in New Issue
Block a user