external: If out non-implemented imgui init functions

This commit is contained in:
Jakob Bornecrantz 2019-10-22 21:23:02 +01:00
parent 939c41aba9
commit 60be24e119
2 changed files with 4 additions and 0 deletions

View file

@ -4520,6 +4520,7 @@ CIMGUI_API bool igImGui_ImplSDL2_InitForOpenGL(SDL_Window* window, void* sdl_gl_
{
return ImGui_ImplSDL2_InitForOpenGL(window, sdl_gl_context);
}
#if 0
CIMGUI_API bool igImGui_ImplSDL2_InitForVulkan(SDL_Window* window)
{
return ImGui_ImplSDL2_InitForVulkan(window);
@ -4528,6 +4529,7 @@ CIMGUI_API bool igImGui_ImplSDL2_InitForD3D(SDL_Window* window)
{
return ImGui_ImplSDL2_InitForD3D(window);
}
#endif
CIMGUI_API void igImGui_ImplSDL2_Shutdown()
{
ImGui_ImplSDL2_Shutdown();

View file

@ -2051,8 +2051,10 @@ typedef struct SDL_Window SDL_Window;
typedef union SDL_Event SDL_Event;
CIMGUI_API bool igImGui_ImplSDL2_InitForOpenGL(SDL_Window* window, void* sdl_gl_context);
#if 0
CIMGUI_API bool igImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
CIMGUI_API bool igImGui_ImplSDL2_InitForD3D(SDL_Window* window);
#endif
CIMGUI_API void igImGui_ImplSDL2_Shutdown(void);
CIMGUI_API void igImGui_ImplSDL2_NewFrame(SDL_Window* window);
CIMGUI_API bool igImGui_ImplSDL2_ProcessEvent(const SDL_Event* event);