From 087353f00b5ec929cc827e05c55adddb34b92af3 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 14 Mar 2019 14:53:24 +0200 Subject: [PATCH] - fixed dynamic lights flickering with GL3 render path https://forum.zdoom.org/viewtopic.php?t=63755 --- src/rendering/hwrenderer/dynlights/hw_lightbuffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rendering/hwrenderer/dynlights/hw_lightbuffer.h b/src/rendering/hwrenderer/dynlights/hw_lightbuffer.h index 9522ccc45..1db32f646 100644 --- a/src/rendering/hwrenderer/dynlights/hw_lightbuffer.h +++ b/src/rendering/hwrenderer/dynlights/hw_lightbuffer.h @@ -59,6 +59,7 @@ public: void BindBase() { mBuffer->BindBase(); + mLastMappedIndex = UINT_MAX; } };