1
0
Fork 0
forked from fte/fteqw

remove GL_Smoothfont_Callback in reinit

set gl_smoothfont as CVAR_RENDERERCALLBACK

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2862 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2008-01-16 04:57:44 +00:00
parent 67f89fa7f0
commit d46a2ca5d5
2 changed files with 2 additions and 5 deletions

View file

@ -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");

View file

@ -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);