diff options
| author | jussi | 2023-12-14 23:08:19 +0200 |
|---|---|---|
| committer | jussi | 2023-12-14 23:08:19 +0200 |
| commit | ba4595305fe426f81233ebbb20fc94cd86d07af9 (patch) | |
| tree | 13692707cd3c1dcd5aa885e8d50dade2feba25e9 /src/lua_core.c | |
| parent | 5ebdba6af0d55269980a64ce190ec29ccd9faaf3 (diff) | |
| download | reilua-enhanced-ba4595305fe426f81233ebbb20fc94cd86d07af9.tar.gz reilua-enhanced-ba4595305fe426f81233ebbb20fc94cd86d07af9.tar.bz2 reilua-enhanced-ba4595305fe426f81233ebbb20fc94cd86d07af9.zip | |
RLGL Hello triangle example.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index 6195c9f..68fb05b 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -1225,6 +1225,7 @@ void luaRegister() { assingGlobalFunction( "LoadShader", lcoreLoadShader ); assingGlobalFunction( "LoadShaderFromMemory", lcoreLoadShaderFromMemory ); assingGlobalFunction( "IsShaderReady", lcoreIsShaderReady ); + assingGlobalFunction( "GetShaderId", lcoreGetShaderId ); assingGlobalFunction( "GetShaderLocation", lcoreGetShaderLocation ); assingGlobalFunction( "GetShaderLocationAttrib", lcoreGetShaderLocationAttrib ); assingGlobalFunction( "SetShaderLocationIndex", lcoreSetShaderLocationIndex ); @@ -1497,6 +1498,7 @@ void luaRegister() { assingGlobalFunction( "GetImageAlphaBorder", ltexturesGetImageAlphaBorder ); assingGlobalFunction( "GetImageColor", ltexturesGetImageColor ); /* Image configuration functions. */ + assingGlobalFunction( "GetImageData", ltexturesGetImageData ); assingGlobalFunction( "GetImageSize", ltexturesGetImageSize ); assingGlobalFunction( "GetImageMipmaps", ltexturesGetImageMipmaps ); assingGlobalFunction( "GetImageFormat", ltexturesGetImageFormat ); |
