summaryrefslogtreecommitdiffstats
path: root/servers/text_server.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-28 12:12:29 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-28 12:12:29 +0200
commit14e1f36e614686f3fea0c74fac3624d1027dd5cc (patch)
tree7bc511bc13f83cf1cef3aebf32a979d528205768 /servers/text_server.cpp
parentff8e24098f01eacea7ef1323afd7866858f892fc (diff)
parent8f5d56e04a60020ec8a6db2aebc9bf9bbaf727d1 (diff)
downloadredot-engine-14e1f36e614686f3fea0c74fac3624d1027dd5cc.tar.gz
Merge pull request #66492 from bruvzg/gde_ts_underscr
[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.
Diffstat (limited to 'servers/text_server.cpp')
-rw-r--r--servers/text_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/text_server.cpp b/servers/text_server.cpp
index 660247839c..588c837a40 100644
--- a/servers/text_server.cpp
+++ b/servers/text_server.cpp
@@ -468,6 +468,7 @@ void TextServer::_bind_methods() {
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_HBGR);
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_VRGB);
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_VBGR);
+ BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_MAX);
/* Direction */
BIND_ENUM_CONSTANT(DIRECTION_AUTO);