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:
parent
67f89fa7f0
commit
d46a2ca5d5
2 changed files with 2 additions and 5 deletions
|
@ -307,7 +307,8 @@ cvar_t gl_skyboxdist = SCVAR ("gl_skyboxdist", "2300");
|
||||||
cvar_t gl_smoothcrosshair = SCVAR ("gl_smoothcrosshair", "1");
|
cvar_t gl_smoothcrosshair = SCVAR ("gl_smoothcrosshair", "1");
|
||||||
|
|
||||||
//gl blends. Set this to 1 to stop the outside of your conchars from being visible
|
//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
|
#ifdef SPECULAR
|
||||||
cvar_t gl_specular = SCVAR ("gl_specular", "0");
|
cvar_t gl_specular = SCVAR ("gl_specular", "0");
|
||||||
|
|
|
@ -1025,10 +1025,6 @@ TRACE(("dbg: GLDraw_ReInit: Allocating upload buffers\n"));
|
||||||
char_tex2 = GL_LoadTexture ("charset", 128, 128, draw_chars, false, true);
|
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++;
|
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);
|
missing_texture = GL_LoadTexture("no_texture", 16, 16, (unsigned char*)r_notexture_mip + r_notexture_mip->offsets[0], true, false);
|
||||||
|
|
Loading…
Reference in a new issue