]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Remove deprecated r_font_use_alpha_textures cvar
authorbones_was_here <bones_was_here@xonotic.au>
Thu, 4 Jan 2024 01:59:19 +0000 (11:59 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 4 Jan 2024 01:59:19 +0000 (11:59 +1000)
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
ft2.c

diff --git a/ft2.c b/ft2.c
index 0b1f9dcc111abc0288ad03f8bf101290d805c8e8..3296e9498361af7ead19b12e9a66b3e5146feccb 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -53,7 +53,6 @@ CVars introduced with the freetype extension
 */
 
 cvar_t r_font_disable_freetype = {CF_CLIENT | CF_ARCHIVE, "r_font_disable_freetype", "0", "disable freetype support for fonts entirely"};
-cvar_t r_font_use_alpha_textures = {CF_CLIENT | CF_ARCHIVE, "r_font_use_alpha_textures", "0", "[deprecated, not effective] use alpha-textures for font rendering, this should save memory"};
 cvar_t r_font_size_snapping = {CF_CLIENT | CF_ARCHIVE, "r_font_size_snapping", "1", "stick to good looking font sizes whenever possible - bad when the mod doesn't support it!"};
 cvar_t r_font_kerning = {CF_CLIENT | CF_ARCHIVE, "r_font_kerning", "1", "Use kerning if available"};
 cvar_t r_font_diskcache = {CF_CLIENT | CF_ARCHIVE, "r_font_diskcache", "0", "[deprecated, not effective] save font textures to disk for future loading rather than generating them every time"};
@@ -445,7 +444,6 @@ void Font_Init(void)
 {
        Cvar_RegisterVariable(&r_font_nonpoweroftwo);
        Cvar_RegisterVariable(&r_font_disable_freetype);
-       Cvar_RegisterVariable(&r_font_use_alpha_textures);
        Cvar_RegisterVariable(&r_font_size_snapping);
        Cvar_RegisterVariable(&r_font_kerning);
        Cvar_RegisterVariable(&r_font_diskcache);