Skip to content

Demo project SDL2 + cimgui + opengl3 using either gl3w or glew

License

Notifications You must be signed in to change notification settings

haxpor/sdl2-cimgui-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • make or make all - to build both variant with gl3w and glew as loader
  • make gl3w
  • make 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 Makefile file

More Info

My blog post accompnaying this project for more detail Integrate cimgui with SDL2 in C code.

what to expect

License

MIT, Wasin Thonkaew

About

Demo project SDL2 + cimgui + opengl3 using either gl3w or glew

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published