get_pixel_pointer seems to work

This commit is contained in:
IQuant 2024-09-23 22:42:03 +03:00
parent a0fee57d0c
commit 42e720959e
3 changed files with 39 additions and 17 deletions

View file

@ -11,4 +11,11 @@ function module.on_world_initialized()
ewext.init_particle_world_state(grid_world, chunk_map)
end
function module.on_local_player_spawn()
local pix_p = ewext.get_pixel_pointer(0, 0)
-- assert(pix_p ~= 0)
-- assert(tonumber(ffi.cast("intptr_t", ppixel)) == pix_p)
end
return module