diff options
| author | jussi | 2024-12-10 21:50:10 +0200 |
|---|---|---|
| committer | jussi | 2024-12-10 21:50:10 +0200 |
| commit | cdb719b23998f4ba73cf3c696c7a82e2f4dc5342 (patch) | |
| tree | 5d18ff52578014ee62dd57d6ba27d3ef6ccea711 /src/lua_core.c | |
| parent | cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1 (diff) | |
| download | reilua-enhanced-cdb719b23998f4ba73cf3c696c7a82e2f4dc5342.tar.gz reilua-enhanced-cdb719b23998f4ba73cf3c696c7a82e2f4dc5342.tar.bz2 reilua-enhanced-cdb719b23998f4ba73cf3c696c7a82e2f4dc5342.zip | |
EXPOSE_API_SYMBOLS, SetShaderValueWithBuffer and SetShaderValueVWithBuffer.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index aea751a..d37f9f1 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -1374,6 +1374,8 @@ void luaRegister() { assingGlobalFunction( "SetShaderValueTexture", lcoreSetShaderValueTexture ); assingGlobalFunction( "SetShaderValue", lcoreSetShaderValue ); assingGlobalFunction( "SetShaderValueV", lcoreSetShaderValueV ); + assingGlobalFunction( "SetShaderValueWithBuffer", lcoreSetShaderValueWithBuffer ); + assingGlobalFunction( "SetShaderValueVWithBuffer", lcoreSetShaderValueVWithBuffer ); assingGlobalFunction( "UnloadShader", lcoreUnloadShader ); /* Screen-space-related functions. */ assingGlobalFunction( "GetScreenToWorldRay", lcoreGetScreenToWorldRay ); @@ -2962,9 +2964,9 @@ BoneInfo uluaGetBoneInfo( lua_State* L, int index ) { bone.parent = lua_tointeger( L, -1 ); } } - i++; - lua_pop( L, 1 ); } + i++; + lua_pop( L, 1 ); } return bone; } @@ -3005,9 +3007,9 @@ Transform uluaGetTransform( lua_State* L, int index ) { transform.scale = uluaGetVector3( L, lua_gettop( L ) ); } } - i++; - lua_pop( L, 1 ); } + i++; + lua_pop( L, 1 ); } return transform; } |
