Skip to content

Commit

Permalink
Fix LuaHBuffer initialisation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dapetcu21 committed Dec 15, 2021
1 parent 564d492 commit 3476ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmod/src/fmod_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int FMODBridge_dmBuffer_GetBytes(FMODBridge_HBuffer buffer, void** bytes, uint32
}

void FMODBridge_dmScript_PushBuffer(lua_State* L, FMODBridge_HBuffer buffer) {
dmScript::LuaHBuffer wrapper = { buffer, false };
dmScript::LuaHBuffer wrapper = { buffer, dmScript::OWNER_C };
dmScript::PushBuffer(L, wrapper);
}

Expand Down

0 comments on commit 3476ac9

Please sign in to comment.