@@ -900,6 +900,8 @@ end_frame(FrameMode mode, Thread *current_thread) {
if (mode == FM_render) {
nassertv(_gsg != (GraphicsStateGuardian *)NULL);
+ copy_to_textures();
+
if (!_properties.get_fixed_size() &&
!_properties.get_undecorated() &&
!_properties.get_fullscreen() &&
@@ -684,6 +684,9 @@ void TinyOsxGraphicsWindow::end_frame(FrameMode mode, Thread *current_thread)
_gsg->end_frame(current_thread);
trigger_flip();
if (_one_shot) {
prepare_for_deletion();