mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Use Data:getFFIPointer instead of Data:getPointer for internal ImageData and SoundData FFI code.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user