Browse Source

robustify layer-ordering interface

David Rose 22 years ago
parent
commit
569758a0f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/framework/windowFramework.cxx

+ 1 - 1
panda/src/framework/windowFramework.cxx

@@ -211,7 +211,7 @@ get_render_2d() {
     PT(GraphicsChannel) channel = _window->get_channel(0);
 
     // Make a layer on the channel to hold our display region.
-    PT(GraphicsLayer) layer = channel->make_layer();
+    PT(GraphicsLayer) layer = channel->make_layer(10);
     
     // And create a display region that covers the entire window.
     PT(DisplayRegion) dr = layer->make_display_region();