mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-22 04:24:56 +00:00
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:
parent
3ee3602714
commit
b414b018cd
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue