Use Data:getFFIPointer instead of Data:getPointer for internal ImageData and SoundData FFI code.

This commit is contained in:
Alex Szpakowski
2019-10-27 19:07:58 -03:00
parent 98b55238b4
commit fe2c204a2c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -941,7 +941,7 @@ void luax_runwrapper(lua_State *L, const char *filedata, size_t datalen, const c
{
luax_gettypemetatable(L, type);
// Load and execute ImageData.lua, sending the metatable and the ffi
// Load and execute the given Lua file, sending the metatable and the ffi
// functions struct pointer as arguments.
if (lua_istable(L, -1))
{