From d18ed81095869c6d4dc3caf036de3337740acf16 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 3 Nov 2006 22:48:43 +0000 Subject: [PATCH] fix inverted screenshots --- panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx b/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx index 1e74bd045a..27b04d7e79 100644 --- a/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx +++ b/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx @@ -1537,6 +1537,8 @@ framebuffer_copy_to_ram(Texture *tex, int z, const DisplayRegion *dr, const Rend return false; } + copy_inverted = true; + RELEASE(backbuffer, dxgsg8, "backbuffer", RELEASE_ONCE); } else if (_cur_read_pixel_buffer & RenderBuffer::T_front) {