From a15555fe0304e1ba560f91f8bacc8b121d226d1c Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Fri, 24 Feb 2017 15:16:28 +0100 Subject: VideoBackends: Use vertex shader depth range if ztexture is used. --- Source/Core/VideoCommon/BPStructs.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/BPStructs.cpp') diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 128969af52..e42f36f471 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -332,6 +332,8 @@ static void BPWritten(const BPCmd& bp) { if (bp.changes & 3) PixelShaderManager::SetZTextureTypeChanged(); + if (bp.changes & 12) + VertexShaderManager::SetViewportChanged(); #if defined(_DEBUG) || defined(DEBUGFAST) const char* pzop[] = {"DISABLE", "ADD", "REPLACE", "?"}; const char* pztype[] = {"Z8", "Z16", "Z24", "?"}; -- cgit v1.2.3