summaryrefslogtreecommitdiff
path: root/src/fontcache.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-01-04 15:20:34 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-13 20:09:14 +0100
commit2b0200d4297a67916cf3b955adc474e88e327cf0 (patch)
treec94614a1659bc0f5213a15aae3add3588ec17ab1 /src/fontcache.h
parent84636fc2af4dfc77b43479909273ebadb4f9b7cb (diff)
downloadopenttd-2b0200d4297a67916cf3b955adc474e88e327cf0.tar.xz
Codechange: OS-specific data for font search is not used outside of searching.
Diffstat (limited to 'src/fontcache.h')
-rw-r--r--src/fontcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index 716b3e7d7..4c44876da 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -217,7 +217,7 @@ struct FreeTypeSubSetting {
uint size; ///< The (requested) size of the font.
bool aa; ///< Whether to do anti aliasing or not.
- const void *os_handle = nullptr; ///< Optional native OS font info.
+ const void *os_handle = nullptr; ///< Optional native OS font info. Only valid during font search.
};
/** Settings for the freetype fonts. */