You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Synchronize parameter names in definition and declaration
Fixes #10244.
This commit is contained in:
committed by
Rémi Verschelde
parent
b1ecaaa22b
commit
00f6c85928
@@ -43,10 +43,10 @@ bool DynamicFontData::CacheID::operator<(CacheID right) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
Ref<DynamicFontAtSize> DynamicFontData::_get_dynamic_font_at_size(CacheID p_id) {
|
||||
Ref<DynamicFontAtSize> DynamicFontData::_get_dynamic_font_at_size(CacheID p_cache_id) {
|
||||
|
||||
if (size_cache.has(p_id)) {
|
||||
return Ref<DynamicFontAtSize>(size_cache[p_id]);
|
||||
if (size_cache.has(p_cache_id)) {
|
||||
return Ref<DynamicFontAtSize>(size_cache[p_cache_id]);
|
||||
}
|
||||
|
||||
Ref<DynamicFontAtSize> dfas;
|
||||
@@ -55,8 +55,8 @@ Ref<DynamicFontAtSize> DynamicFontData::_get_dynamic_font_at_size(CacheID p_id)
|
||||
|
||||
dfas->font = Ref<DynamicFontData>(this);
|
||||
|
||||
size_cache[p_id] = dfas.ptr();
|
||||
dfas->id = p_id;
|
||||
size_cache[p_cache_id] = dfas.ptr();
|
||||
dfas->id = p_cache_id;
|
||||
dfas->_load();
|
||||
|
||||
return dfas;
|
||||
|
||||
Reference in New Issue
Block a user