Browse Source

build error

David Rose 15 years ago
parent
commit
775184f113
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/osxdisplay/osxGraphicsWindow.mm

+ 1 - 1
panda/src/osxdisplay/osxGraphicsWindow.mm

@@ -900,7 +900,7 @@ end_frame(FrameMode mode, Thread *current_thread) {
       // Draw a kludgey little resize box in the corner of the window,
       // Draw a kludgey little resize box in the corner of the window,
       // so the user knows he's supposed to be able to drag the window
       // so the user knows he's supposed to be able to drag the window
       // if he wants.
       // if he wants.
-      DisplayRegionPipelineReader dr_reader(_default_display_region, current_thread);
+      DisplayRegionPipelineReader dr_reader(_overlay_display_region, current_thread);
       _gsg->prepare_display_region(&dr_reader, Lens::SC_mono);
       _gsg->prepare_display_region(&dr_reader, Lens::SC_mono);
       DCAST(osxGraphicsStateGuardian, _gsg)->draw_resize_box();
       DCAST(osxGraphicsStateGuardian, _gsg)->draw_resize_box();
     }
     }