فهرست منبع

fix offscreen rendering with true offscreen buffer

David Rose 21 سال پیش
والد
کامیت
1becc5edd4
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      panda/src/display/graphicsBuffer.cxx

+ 1 - 0
panda/src/display/graphicsBuffer.cxx

@@ -49,6 +49,7 @@ GraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
   _x_size = x_size;
   _y_size = y_size;
   _has_size = true;
+  _default_display_region->compute_pixels(_x_size, _y_size);
   _open_request = OR_none;
 }