From 093a05b5886c12ef168de5fec3e7b2e651a6579e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 25 Mar 2017 11:32:39 +0200 Subject: [PATCH] Reset OpenGL 2D drawer state fully on each frame https://mantis.zdoom.org/view.php?id=469 --- src/gl/renderer/gl_2ddrawer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/renderer/gl_2ddrawer.cpp b/src/gl/renderer/gl_2ddrawer.cpp index d95bb9eed..3f4f74cc5 100644 --- a/src/gl/renderer/gl_2ddrawer.cpp +++ b/src/gl/renderer/gl_2ddrawer.cpp @@ -487,4 +487,5 @@ void F2DDrawer::Clear() { mVertices.Clear(); mData.Clear(); + mLastLineCmd = -1; }