mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
external: If out non-implemented imgui init functions
This commit is contained in:
parent
939c41aba9
commit
60be24e119
2
src/external/imgui/cimgui.cpp
vendored
2
src/external/imgui/cimgui.cpp
vendored
|
@ -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();
|
||||
|
|
2
src/external/imgui/cimgui.h
vendored
2
src/external/imgui/cimgui.h
vendored
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue