The separate image/sampler update in sokol_gfx.h led to a regression for user images in sokol_imgui.h and sokol_nuklear.h: since the respective image handles may only be 32 bits, it's not possible to stash an sg_image handle and sg_sampler handle in there.
Solution is to create an 'image/sample pair object' both in sokol_imgui.h and sokol_nuklear.h, which can then be referenced with a 32-bit handle, for instance in sokol_imgui.h:
The separate image/sampler update in sokol_gfx.h led to a regression for user images in sokol_imgui.h and sokol_nuklear.h: since the respective image handles may only be 32 bits, it's not possible to stash an sg_image handle and sg_sampler handle in there.
Solution is to create an 'image/sample pair object' both in sokol_imgui.h and sokol_nuklear.h, which can then be referenced with a 32-bit handle, for instance in sokol_imgui.h: