|
|
@@ -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);
|