From b3cc7ae1d5a055be71270bd8a4ceec68b140cae6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 3 Nov 2016 21:34:49 +0530 Subject: [PATCH] ... --- kitty/shaders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/shaders.py b/kitty/shaders.py index 51b42c200..b63d2bbab 100644 --- a/kitty/shaders.py +++ b/kitty/shaders.py @@ -72,6 +72,8 @@ class Sprites: tgt = GL_TEXTURE_2D_ARRAY tex = glGenTextures(1) glBindTexture(tgt, tex) + # We use GL_NEAREST otherwise glyphs that touch the edge of the cell + # often show a border between cells glTexParameteri(tgt, GL_TEXTURE_MIN_FILTER, GL_NEAREST) glTexParameteri(tgt, GL_TEXTURE_MAG_FILTER, GL_NEAREST) glTexParameteri(tgt, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)