David Rose 20 years ago
parent
commit
67e78844b3

+ 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();
 }