summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-08-28 19:35:20 +0200
committerGitHub <noreply@github.com>2021-08-28 19:35:20 +0200
commit7368004869671d1ada14d0628a11a5ba536147af (patch)
treebb900670374edb74142d1b3e2a8c0a469b47897d /modules/gdnative
parent565ba91d28cfd1d2b223e8bb2825e233bfdb25bf (diff)
parentb9c64df69b99132de5e68b9f97eb70abfaf62ba5 (diff)
Merge pull request #52176 from BastiaanOlij/fix_gl_size_param
Fix double named size parameter
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/text/text_server_gdnative.cpp2
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 {