Closed PowerStateFailure closed 5 years ago
You certainly have misplaced second and third argument in bgfx_update_texture_cube: it should've been handle, layer, stride, ..., not handle, stride, layer, .... See https://github.com/bkaradzic/bgfx/blob/master/include/bgfx/c99/bgfx.h#L852
bgfx_update_texture_cube
handle, layer, stride, ...
handle, stride, layer, ...
(I've spent couple of hours trying to understand why cubemap doesn't work)
Indeed, sorry about that. Fixed !
You certainly have misplaced second and third argument in
bgfx_update_texture_cube
: it should've beenhandle, layer, stride, ...
, nothandle, stride, layer, ...
. See https://github.com/bkaradzic/bgfx/blob/master/include/bgfx/c99/bgfx.h#L852(I've spent couple of hours trying to understand why cubemap doesn't work)