diff --git a/engine/client/renderer.c b/engine/client/renderer.c index d816078fe..800aaaf2b 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -307,7 +307,8 @@ cvar_t gl_skyboxdist = SCVAR ("gl_skyboxdist", "2300"); cvar_t gl_smoothcrosshair = SCVAR ("gl_smoothcrosshair", "1"); //gl blends. Set this to 1 to stop the outside of your conchars from being visible -cvar_t gl_smoothfont = SCVAR ("gl_smoothfont", "1"); +cvar_t gl_smoothfont = SCVARF ("gl_smoothfont", "1", + CVAR_RENDERERCALLBACK); #ifdef SPECULAR cvar_t gl_specular = SCVAR ("gl_specular", "0"); diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index 5c4d33bb7..1002b4ecb 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -1025,10 +1025,6 @@ TRACE(("dbg: GLDraw_ReInit: Allocating upload buffers\n")); char_tex2 = GL_LoadTexture ("charset", 128, 128, draw_chars, false, true); } - //make sure the sampling takes effect - GL_Smoothfont_Callback(&gl_smoothfont, ""); - - cs_texture = texture_extension_number++; missing_texture = GL_LoadTexture("no_texture", 16, 16, (unsigned char*)r_notexture_mip + r_notexture_mip->offsets[0], true, false);