quick fix for issue 2086

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4965 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado 2010-01-26 15:19:57 +00:00
parent 40cc180dfd
commit 438bf20771
1 changed files with 7 additions and 0 deletions

View File

@ -461,6 +461,13 @@ static void EFBTextureToD3DBackBuffer(const EFBRectangle& sourceRc)
D3D::RefreshSamplerState(0, D3DSAMP_MINFILTER);
D3D::RefreshSamplerState(0, D3DSAMP_MAGFILTER);
vp.X = 0;
vp.Y = 0;
vp.Width = s_backbuffer_width;
vp.Height = s_backbuffer_height;
vp.MinZ = 0.0f;
vp.MaxZ = 1.0f;
D3D::dev->SetViewport(&vp);
// Finish up the current frame, print some stats
if (g_ActiveConfig.bShowFPS)
{