sdl2-cimgui-demo
sdl2-cimgui-demo copied to clipboard
Demo project SDL2 + cimgui + opengl3 using either gl3w or glew
Build
This project has the following dependencies
- cimgui as git submodule (in which it has imgui as dependencies as git submodule the same)
Before building, execute git submodule update --init to clone down all dependencies from git submodules.
You have 3 options
makeormake all- to build both variant withgl3wandglewas loadermake gl3wmake glew
Then run newly built main-gl3w or main-glew depends on which make's target you've executed.
Note
- With help of suggestion from #78, and #79.
- Tested on macOS only, for Windows and Linux will need slight modification on
Makefilefile
More Info
My blog post accompnaying this project for more detail Integrate cimgui with SDL2 in C code.

License
MIT, Wasin Thonkaew