aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/text.v.glsl5
1 files changed, 2 insertions, 3 deletions
diff --git a/res/text.v.glsl b/res/text.v.glsl
index 0432babd..48d45eec 100644
--- a/res/text.v.glsl
+++ b/res/text.v.glsl
@@ -22,7 +22,6 @@ out vec3 bg;
// Terminal properties
uniform vec2 termDim;
uniform vec2 cellDim;
-uniform vec2 cellSep;
uniform int backgroundPass;
@@ -38,14 +37,14 @@ void main()
vec2 uvSize = uv.zw;
// Position of cell from top-left
- vec2 cellPosition = (cellDim + cellSep) * gridCoords;
+ vec2 cellPosition = (cellDim) * gridCoords;
// Invert Y since framebuffer origin is bottom-left
cellPosition.y = termDim.y - cellPosition.y - cellDim.y;
if (backgroundPass != 0) {
cellPosition.y = cellPosition.y - 3;
- vec2 finalPosition = (cellDim + cellSep) * position + cellPosition;
+ vec2 finalPosition = cellDim * position + cellPosition;
gl_Position = projection * vec4(finalPosition.xy, 0.0, 1.0);
TexCoords = vec2(0, 0);
} else {