From 437ebab1a742770ec4ac35c6fc1b7b4b259c9c6f Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sat, 28 Feb 2009 19:07:43 +0000 Subject: [PATCH] Oops, accidentally committed something unfinished too. reverted. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2476 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp b/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp index d07f4eb4e9..f225e24951 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp @@ -417,15 +417,8 @@ void BPWritten(int addr, int changes, int newval) } else if (g_Config.bCopyEFBToRAM) { - TRectangle scaled_rc; - float xScale = Renderer::GetTargetScaleX(); - float yScale = Renderer::GetTargetScaleY(); - scaled_rc.left = rc.left * xScale; - scaled_rc.right = rc.right * xScale; - scaled_rc.top = rc.top * xScale; - scaled_rc.bottom = rc.bottom * xScale; TextureConverter::EncodeToRam(bpmem.copyTexDest<<5, bpmem.zcontrol.pixel_format==PIXELFMT_Z24, PE_copy.intensity_fmt>0, - (PE_copy.target_pixel_format/2)+((PE_copy.target_pixel_format&1)*8), PE_copy.half_scale>0, scaled_rc); + (PE_copy.target_pixel_format/2)+((PE_copy.target_pixel_format&1)*8), PE_copy.half_scale>0, rc); } else {