Open Protoxy22 opened 5 months ago
Hey @Protoxy22,
Thanks for the patch! The new code is fine and the old code is indeed not working. However, it looks like there's a relative recent bgfx bug that broke it:
~Should have kept the other memCopy
, that copies from g_platformData
to m_init.platformData
.~ I'm currently building bgfx with a fix, it will be available in the next 3.3.4
snapshot.
Ended up with a different fix, but I can verify that the issue is resolved with the latest bgfx build and the original code. You can download the fixed build from https://www.lwjgl.org/browse/nightly.
I'm not 100% sure about the code, but at least the bgfx demo works again (tested on Windows)