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
Other
9.08k stars 544 forks source link

nuklear_glfw_gl2.h #509

Open rjopek opened 1 year ago

rjopek commented 1 year ago

Hi,

when creating a library for language bindings, I have an error and a condition:

  1. error: struct nk_convert_config has no member named tex_null https://github.com/Immediate-Mode-UI/Nuklear/blob/master/demo/glfw_opengl2/nuklear_glfw_gl2.h#L143

  2. warning: struct nk_font_atlas declared inside parameter list will not be visible outside of this definition or declaration https://github.com/Immediate-Mode-UI/Nuklear/blob/master/demo/glfw_opengl2/nuklear_glfw_gl2.h#L23

Let me just mention that for the implementation nuklear_xlib.h everything works fine and painlessly ;)