mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
copy-textures
This commit is contained in:
parent
63b999d6ba
commit
c76e25c831
@ -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);
|
||||
|
||||
if (mode == FM_render) {
|
||||
|
||||
copy_to_textures();
|
||||
|
||||
trigger_flip();
|
||||
if (_one_shot) {
|
||||
prepare_for_deletion();
|
||||
|
Loading…
x
Reference in New Issue
Block a user