summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index d714024..e2b1631 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -10,6 +10,7 @@
#include "rmath.h"
#include "rgui.h"
#include "lights.h"
+#include "lrlgl.h"
static void assignGlobalInt( int value, const char *name ) {
lua_State *L = state->luaState;
@@ -1257,6 +1258,10 @@ void luaRegister() {
/* Basics. */
lua_register( L, "RL_CreateLight", llightsCreateLight );
lua_register( L, "RL_UpdateLightValues", llightsUpdateLightValues );
+ /* RLGL */
+ /* General render state. */
+ lua_register( L, "RL_rlSetLineWidth", lrlglSetLineWidth );
+ lua_register( L, "RL_rlGetLineWidth", lrlglGetLineWidth );
}
/* Lua util functions. */