1
0
forked from mirrors/0ad

Fixes minimap texture scissoring rect following b5d85e279f. Fixes #6382

This was SVN commit r26229.
This commit is contained in:
vladislavbelov
2022-01-19 17:40:26 +00:00
parent 5adbe4f1a3
commit 41fe3aafa4
+1 -1
View File
@@ -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