copy-textures

This commit is contained in:
David Rose 2009-03-12 20:44:54 +00:00
parent 63b999d6ba
commit c76e25c831
2 changed files with 5 additions and 0 deletions

View File

@ -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() &&

View File

@ -684,6 +684,9 @@ void TinyOsxGraphicsWindow::end_frame(FrameMode mode, Thread *current_thread)
_gsg->end_frame(current_thread);
if (mode == FM_render) {
copy_to_textures();
trigger_flip();
if (_one_shot) {
prepare_for_deletion();