From 35efbccfa3ad93a53b52cfd516d2c93cbe94d608 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 19 Mar 2019 17:09:20 +0000 Subject: [PATCH] Fix r_polygonmode cvar git-svn-id: https://svn.eduke32.com/eduke32@7422 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/polymost.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index d4d943418..a9119d938 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -7016,6 +7016,7 @@ int32_t polymost_printext256(int32_t xpos, int32_t ypos, int16_t col, int16_t ba polymost_setFogEnabled(false); // We want to have readable text in wireframe mode, too: glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); + lastglpolygonmode = 0; if (backcol >= 0) {