You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Merge pull request #61934 from Geometror/hashfuncs
Hash function improvements
This commit is contained in:
@@ -2000,7 +2000,7 @@ Vector2 TextServerFallback::font_get_kerning(const RID &p_font_rid, int64_t p_si
|
||||
|
||||
ERR_FAIL_COND_V(!_ensure_cache_for_size(fd, size), Vector2());
|
||||
|
||||
const HashMap<Vector2i, Vector2, VariantHasher, VariantComparator> &kern = fd->cache[size]->kerning_map;
|
||||
const HashMap<Vector2i, Vector2> &kern = fd->cache[size]->kerning_map;
|
||||
|
||||
if (kern.has(p_glyph_pair)) {
|
||||
if (fd->msdf) {
|
||||
|
||||
Reference in New Issue
Block a user