Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.01 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.01 KB

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: