summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
diff options
context:
space:
mode:
authorNolan Check <Nolan.Check@gmail.com>2011-05-12 02:14:45 +0000
committerNolan Check <Nolan.Check@gmail.com>2011-05-12 02:14:45 +0000
commit80247835020092c598fcee519f77e7d581b4d146 (patch)
treec147fd97251c19f401fddda32900974a3fdbf407 /Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
parent8cb2443c2fe22196c26d6e15608273dbc9e6551f (diff)
Don't resize render target to handle out-of-bounds viewports. Instead, adjust the projection matrix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7538 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp b/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
index 712cebfd64..0a87a1baf5 100644
--- a/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
+++ b/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
@@ -44,8 +44,8 @@ FramebufferManager::Efb FramebufferManager::s_efb;
FramebufferManager::FramebufferManager()
{
bool depth_textures_supported = true;
- int target_width = Renderer::GetFullTargetWidth();
- int target_height = Renderer::GetFullTargetHeight();
+ int target_width = Renderer::GetTargetWidth();
+ int target_height = Renderer::GetTargetHeight();
s_efb.color_surface_Format = D3DFMT_A8R8G8B8;
// EFB color texture - primary render target
@@ -217,8 +217,8 @@ void XFBSource::CopyEFB(float Gamma)
D3D::drawShadedTexQuad(
FramebufferManager::GetEFBColorTexture(),
&sourcerect,
- Renderer::GetFullTargetWidth(),
- Renderer::GetFullTargetHeight(),
+ Renderer::GetTargetWidth(),
+ Renderer::GetTargetHeight(),
texWidth,
texHeight,
PixelShaderCache::GetColorCopyProgram( g_ActiveConfig.iMultisampleMode),