mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix inverted screenshots
This commit is contained in:
parent
9f87644dd4
commit
d18ed81095
@ -1537,6 +1537,8 @@ framebuffer_copy_to_ram(Texture *tex, int z, const DisplayRegion *dr, const Rend
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
copy_inverted = true;
|
||||||
|
|
||||||
RELEASE(backbuffer, dxgsg8, "backbuffer", RELEASE_ONCE);
|
RELEASE(backbuffer, dxgsg8, "backbuffer", RELEASE_ONCE);
|
||||||
|
|
||||||
} else if (_cur_read_pixel_buffer & RenderBuffer::T_front) {
|
} else if (_cur_read_pixel_buffer & RenderBuffer::T_front) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user