Examples: SDL: Using SDL_WINDOW_INPUT_FOCUS instead of SDL_WINDOW_MOUSE_FOCUS (which is ~~hovered). We should use SDL_CaptureMouse + SDL_WINDOW_MOUSE_CAPTURE_FLAG which requires SDL 2.0.4 will give it a try shortly. (#1559)
|
---|
|
examples/sdl_opengl2_example/imgui_impl_sdl.cpp |
---|
examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp |
---|