From d01302c5fa1e89163cc4c5507eb748871dab19df Mon Sep 17 00:00:00 2001 From: Maddes Buecher Date: Thu, 17 Aug 2000 20:13:44 +0000 Subject: [PATCH] Conwidth/height charset fix by TcT: weird charset when you set -conwidth/-conheight to other values than screen resolution --- common/gl_draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/gl_draw.c b/common/gl_draw.c index 5afdf69..ddc2b16 100644 --- a/common/gl_draw.c +++ b/common/gl_draw.c @@ -431,10 +431,11 @@ void Draw_Init (void) draw_chars[i] = 255; // proper transparent color // now turn them into textures - char_texture = GL_LoadTexture ("charset", 128, 128, draw_chars, false, true); +// char_texture = GL_LoadTexture ("charset", 128, 128, draw_chars, false, true); // 1999-12-27 Conwidth/height charset fix by TcT cs_texture3 = GL_LoadTexture ("crosshair3", 16, 16, cs_data3, false, true); cs_texture = GL_LoadTexture ("crosshair", 8, 8, cs_data, false, true); + char_texture = GL_LoadTexture ("charset", 128, 128, draw_chars, false, true); // 1999-12-27 Conwidth/height charset fix by TcT // For some reason which I cannot claim to fathom, it seems to be // necessary to call GL_LoadTexture() here in descending (in terms