summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2023-11-30 02:50:00 +0200
committerjussi2023-11-30 02:50:00 +0200
commitaa03fffcb32e4a04589d74273c81316b39afacd9 (patch)
tree862f1ebed684982a68221aae94e5384ff4473480 /src/lua_core.c
parent8882d2ff2c4c77c08a5c5b0931a70ff906ecbdb5 (diff)
downloadreilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.tar.gz
reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.tar.bz2
reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.zip
Raygui textures with SetShapesTexture.
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index 56162c1..ecd5f75 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -1090,7 +1090,7 @@ bool luaCallMain() {
}
void luaCallProcess() {
-
+
#ifdef PLATFORM_DESKTOP_SDL
platformSendEvents();
#endif
@@ -1508,6 +1508,7 @@ void luaRegister() {
assingGlobalFunction( "ImageDraw", ltexturesImageDraw );
assingGlobalFunction( "ImageDrawTextEx", ltexturesImageDrawTextEx );
/* Texture loading functions. */
+ assingGlobalFunction( "GetTextureDefault", ltexturesGetTextureDefault );
assingGlobalFunction( "LoadTexture", ltexturesLoadTexture );
assingGlobalFunction( "LoadTextureFromImage", ltexturesLoadTextureFromImage );
assingGlobalFunction( "LoadTextureCubemap", ltexturesLoadTextureCubemap );