Immediate-Mode-UI / Nuklear

A single-header ANSI C immediate mode cross-platform GUI library
https://immediate-mode-ui.github.io/Nuklear/doc/index.html
8.86k stars 535 forks source link

Demo doesn't include code on how to display images without OpenGL. #622

Closed malespiaut closed 3 months ago

malespiaut commented 3 months ago

Hello,

I was reading the demo code for the sdl_renderer, but when I looked for examples on how to display a nk_image, I've only founc examples that requires OpenGL.

The demo code should, in my humble opinion, have example that covers displaying images without the use of OpenGL.

Best regards.

RobLoach commented 3 months ago

Wiki has image examples for SDL https://github.com/Immediate-Mode-UI/Nuklear/wiki/SDL

Would like a common image example, perhaps handled via this pr https://github.com/Immediate-Mode-UI/Nuklear/pull/466