Skip to content

dwnste/imgui_sdl_osx

Repository files navigation

imgui_sdl_osx

To render anything you need to call original SDL_GL_SwapWindow before you actually call SDL_GL_MakeCurrent (with original context as one of the arguments).

Moreover, you need to call glFlush() in the bottom of your SDL_GL_SwapWindow override function to get rid of flickering effect.

Usage

  1. Install SDL2 library with Homebrew.
brew install sdl2
  1. Open project in XCode.
  2. Build the project.
  3. Inject the lib. (for example with osxinj)

Credits:

Thanks to:

About

OS X SDL2 hooking approach

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages