From e88c02dece0e5e8d3b019fd0137eab790d6d2036 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Fri, 16 Jan 2015 05:29:39 +1300 Subject: Ensure that ZSlopes save/restore state correctly. Had to re-do *ShaderManager so they saved their constant arrays instead of completly rebuilding them on restore state. --- Source/Core/VideoCommon/VertexManagerBase.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp') diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index c9f5e2c714..3f6c672c65 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -241,6 +241,7 @@ void VertexManager::Flush() void VertexManager::DoState(PointerWrap& p) { + p.Do(ZSlope); g_vertex_manager->vDoState(p); } -- cgit v1.2.3