edubart / sokol_gp

Minimal modern efficient cross platform 2D graphics painter in C
MIT No Attribution
450 stars 24 forks source link

Getting this to work with sokol_imgui.h #29

Closed kkukshtel closed 9 months ago

kkukshtel commented 10 months ago

I'm trying to figure out if there is anything special I need to do to get sokol_imgui.h working with sokol_gp.h. I've got it all setup and ostensibly running in the backround without error, but not sure if the state required on the defaul sokol_gfx thread needs to be somehow handed off to sokol_gp for rendering. I'm calling the normal sokol_imgui render functions but aren't seeing any gui being drawn. Would love any help if you can offer!

kkukshtel commented 10 months ago

Figured out it was an issue on my end with calling the right sokol_imgui.h window/content code. All good!