From 2d25002e2a9be9bcb9cbfaecb8e11f94f2117b06 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Wed, 8 Feb 2017 02:59:25 +0100 Subject: [PATCH] Fix InterestingSegments not being properly resized in PopPortal --- src/swrenderer/segments/r_drawsegment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swrenderer/segments/r_drawsegment.cpp b/src/swrenderer/segments/r_drawsegment.cpp index 84753cd4c..c3b0e791c 100644 --- a/src/swrenderer/segments/r_drawsegment.cpp +++ b/src/swrenderer/segments/r_drawsegment.cpp @@ -71,7 +71,7 @@ namespace swrenderer Segments.Resize(StartIndices.Last()); StartIndices.Pop(); - StartInterestingIndices.Resize(StartInterestingIndices.Last()); + InterestingSegments.Resize(StartInterestingIndices.Last()); StartInterestingIndices.Pop(); }