Nuklear
Nuklear copied to clipboard
Rawfb Wayland Demo Is Broken
Problem
I compiled the rawfb Wayland demo from the master branch without problems.
However, executing the demo binary results in this error message:
demo: ../../../nuklear.h:20668: nk_begin_titled: Assertion `ctx' failed.
Aborted (core dumped)
Fix
nk_wayland_ctx.rawfb, which contains ctx, never gets assigned a value.
Assigning the return value of the nk_rawfb_init function call to nk_wayland_ctx.rawfb like in the other rawfb demos fixes this issue.
I opened a pull request for this issue: https://github.com/Immediate-Mode-UI/Nuklear/pull/807
Thanks a lot.