mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Use Data:getFFIPointer instead of Data:getPointer for internal ImageData and SoundData FFI code.
This commit is contained in:
@@ -368,7 +368,7 @@ local objectcache = setmetatable({}, {
|
||||
width = width,
|
||||
height = height,
|
||||
format = format,
|
||||
pointer = ffi.cast(conv.pointer, imagedata:getPointer()),
|
||||
pointer = ffi.cast(conv.pointer, imagedata:getFFIPointer()),
|
||||
tolua = conv.tolua,
|
||||
fromlua = conv.fromlua,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user