From 41fe3aafa4e65fa47dcee57a205c3e0db98b1f0a Mon Sep 17 00:00:00 2001 From: vladislavbelov Date: Wed, 19 Jan 2022 17:40:26 +0000 Subject: [PATCH] Fixes minimap texture scissoring rect following b5d85e279f. Fixes #6382 This was SVN commit r26229. --- source/graphics/MiniMapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/graphics/MiniMapTexture.cpp b/source/graphics/MiniMapTexture.cpp index c432e0a3e4..aeceb70590 100644 --- a/source/graphics/MiniMapTexture.cpp +++ b/source/graphics/MiniMapTexture.cpp @@ -496,7 +496,7 @@ void CMiniMapTexture::RenderFinalTexture( if (m_EntitiesDrawn > 0) { glEnable(GL_SCISSOR_TEST); - glScissor(1, 1, FINAL_TEXTURE_SIZE - 1, FINAL_TEXTURE_SIZE - 1); + glScissor(1, 1, FINAL_TEXTURE_SIZE - 2, FINAL_TEXTURE_SIZE - 2); #if !CONFIG2_GLES glEnable(GL_VERTEX_PROGRAM_POINT_SIZE); #endif