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)
|
---|
|
examples/imgui_impl_sdl2.cpp |
---|
examples/sdl_opengl3_example/main.cpp |
---|