Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ (#3926)

(Squashed 20 commits)
This commit is contained in:
Sylvain
2021-09-21 17:12:30 +02:00
committed by ocornut
parent d7260104b1
commit 62b17f928e
13 changed files with 777 additions and 1 deletions

View File

@ -21,6 +21,7 @@
struct SDL_Window;
typedef union SDL_Event SDL_Event;
IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window);
IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window, void* sdl_gl_context);
IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window);