Experimental D3D step: Fixed overlay consistency by returning immediately from UpdateViewport. Screen progress: Can see Nintendo-size red rectangle on white background in Zelda: Collector's Edition.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2571 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-03-06 18:13:33 +00:00
parent 3ee3602714
commit b414b018cd
1 changed files with 3 additions and 0 deletions

View File

@ -456,6 +456,9 @@ void Renderer::SetSamplerState(DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Va
// Called from VertexShaderManager
void UpdateViewport()
{
// HACK: Update viewport causes overlay to disappear and the games to move to the
// bottom of the screen for some reason.
return;
// reversed gxsetviewport(xorig, yorig, width, height, nearz, farz)
// [0] = width/2
// [1] = height/2