David Rose 20 سال پیش
والد
کامیت
67e78844b3
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      panda/src/glxdisplay/glxGraphicsBuffer.cxx
  2. 1 1
      panda/src/glxdisplay/glxGraphicsWindow.cxx

+ 1 - 1
panda/src/glxdisplay/glxGraphicsBuffer.cxx

@@ -98,7 +98,7 @@ begin_frame(FrameMode mode) {
     clear_cube_map_selection();
   }
   
-  _gsg()->set_current_properties(&get_fb_properties());
+  _gsg->set_current_properties(&get_fb_properties());
   return _gsg->begin_frame();
 }
 

+ 1 - 1
panda/src/glxdisplay/glxGraphicsWindow.cxx

@@ -144,7 +144,7 @@ begin_frame(FrameMode mode) {
     clear_cube_map_selection();
   }
   
-  _gsg()->set_current_properties(&get_fb_properties());
+  _gsg->set_current_properties(&get_fb_properties());
   return _gsg->begin_frame();
 }