Repository navigation
v0.14.0 — bgfx bridge on bgfx API 161
The bgfx bridge needs labelle-bgfx ≥ 0.24.0 (bgfx API 161). Sokol and raylib bridges are unchanged.
Fixed
The bgfx bridge aborted on labelle-bgfx v0.24.0 (#33). It pinned zbgfx at bgfx API 142 while the backend links API 161, so a game carried two zbgfx copies and the bridge compiled against the wrong headers:
- API 161 inserted three
TextureFormatvalues (RGBA871 → 74). The font-atlas upload aborted increateTexture2D(storage 196608 vs memory 262144). - Its v11 shaders were rejected:
imgui-bgfx: failed to create shaders.
Changed
- zbgfx pinned to labelle-toolkit/zbgfx
ba2786f, the same pin as labelle-bgfx v0.24.0, so a game resolves a single zbgfx. - Sprite shaders are labelle-bgfx v0.24.0's v12 blobs. GLES (Android, WebGL2) now uses the ESSL variant: API 161's desktop blob is GLSL 330, which is not valid ESSL.
setViewRecttakes min/max depth.
Compatibility
| labelle-bgfx | labelle-imgui |
|---|---|
| ≥ 0.24.0 | ≥ 0.14.0 |
| < 0.24.0 | ≤ 0.13.x |
Verified in Flying Platform on bgfx 0.24.0: no abort, imgui-bgfx: render resources ready, and the overlay draws.