Viewport, Platform: SDL: Makes the CreateViewport function restore current GL context so in theory it is free from side-effect. That said, it seems like there is a bug in SDL because our CreateViewport (currently in Render(), not for long) have affect a jerky side-effect if SDL_GL_MakeCurrent() is called before Render(). (#1542)
1 parent 8364d1c commit 2e1ac0f683db1d84e9a1a18c17e88b687c631781
@omar omar authored on 15 Mar 2018
Showing 2 changed files
View
examples/imgui_impl_sdl2.cpp
View
examples/sdl_opengl3_example/main.cpp