summaryrefslogtreecommitdiff
path: root/src/renderer/tr_font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/tr_font.c')
-rw-r--r--src/renderer/tr_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_font.c b/src/renderer/tr_font.c
index ea7b9e80..95df7a15 100644
--- a/src/renderer/tr_font.c
+++ b/src/renderer/tr_font.c
@@ -494,7 +494,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
}
//Com_sprintf (name, sizeof(name), "fonts/fontImage_%i_%i", imageNumber++, pointSize);
- image = R_CreateImage(name, imageBuff, 256, 256, qfalse, qfalse, GL_CLAMP);
+ image = R_CreateImage(name, imageBuff, 256, 256, qfalse, qfalse, GL_CLAMP_TO_EDGE);
h = RE_RegisterShaderFromImage(name, LIGHTMAP_2D, image, qfalse);
for (j = lastStart; j < i; j++) {
font->glyphs[j].glyph = h;