mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
experimental optimize canvas:set_data using ffi
This commit is contained in:
parent
6078a8802e
commit
e48216da40
6 changed files with 61 additions and 13 deletions
|
|
@ -120,7 +120,7 @@ std::unique_ptr<Process> scripting::start_coroutine(
|
|||
lua::loadbuffer(L, 0, source, script.name());
|
||||
if (lua::call(L, 1)) {
|
||||
int id = lua::tointeger(L, -1);
|
||||
lua::pop(L, 2);
|
||||
lua::pop(L, 1);
|
||||
return std::make_unique<LuaCoroutine>(L, id);
|
||||
}
|
||||
lua::pop(L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue