diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-08-28 13:30:32 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-08-28 13:30:43 +1000 |
commit | b9c64df69b99132de5e68b9f97eb70abfaf62ba5 (patch) | |
tree | 517a706536b0a498a315447923e35c8d97d3a1c9 /modules/gdnative | |
parent | d04aa9a114811e27c672e9874c262e91299216f0 (diff) |
Fix double named size parameter
Diffstat (limited to 'modules/gdnative')
-rw-r--r-- | modules/gdnative/text/text_server_gdnative.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/text/text_server_gdnative.cpp b/modules/gdnative/text/text_server_gdnative.cpp index 195c32c3f8..39db8ae636 100644 --- a/modules/gdnative/text/text_server_gdnative.cpp +++ b/modules/gdnative/text/text_server_gdnative.cpp @@ -383,7 +383,7 @@ Vector2 TextServerGDNative::font_get_glyph_size(RID p_font_rid, const Vector2i & void TextServerGDNative::font_set_glyph_size(RID p_font_rid, const Vector2i &p_size, int32_t p_glyph, const Vector2 &p_gl_size) { ERR_FAIL_COND(interface == nullptr); - interface->font_set_glyph_size(data, (godot_rid *)&p_font_rid, (const godot_vector2i *)&p_size, p_glyph, (const godot_vector2 *)&p_size); + interface->font_set_glyph_size(data, (godot_rid *)&p_font_rid, (const godot_vector2i *)&p_size, p_glyph, (const godot_vector2 *)&p_gl_size); } Rect2 TextServerGDNative::font_get_glyph_uv_rect(RID p_font_rid, const Vector2i &p_size, int32_t p_glyph) const { |