Conwidth/height charset fix by TcT: weird charset when you set -conwidth/-conheight to other values than screen resolution

This commit is contained in:
Maddes Buecher 2000-08-17 20:13:44 +00:00
parent f296c49b72
commit d01302c5fa

View file

@ -431,10 +431,11 @@ void Draw_Init (void)
draw_chars[i] = 255; // proper transparent color draw_chars[i] = 255; // proper transparent color
// now turn them into textures // 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, cs_texture3 = GL_LoadTexture ("crosshair3", 16, 16, cs_data3,
false, true); false, true);
cs_texture = GL_LoadTexture ("crosshair", 8, 8, cs_data, 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 // For some reason which I cannot claim to fathom, it seems to be
// necessary to call GL_LoadTexture() here in descending (in terms // necessary to call GL_LoadTexture() here in descending (in terms