From aa03fffcb32e4a04589d74273c81316b39afacd9 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 30 Nov 2023 02:50:00 +0200 Subject: Raygui textures with SetShapesTexture. --- src/lua_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lua_core.c') 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 ); -- cgit v1.2.3