Examples: GLFW: Added mouse cursors support (#1495)

This commit is contained in:
omar
2018-02-19 22:29:52 +01:00
parent 9fdf72e42b
commit e660d92fa5
2 changed files with 28 additions and 1 deletions

View File

@ -150,7 +150,10 @@ bool ImGui_ImplSDL2_Init(SDL_Window* window)
void ImGui_ImplSDL2_Shutdown()
{
for (ImGuiMouseCursor cursor_n = 0; cursor_n < ImGuiMouseCursor_Count_; cursor_n++)
{
SDL_FreeCursor(g_MouseCursors[cursor_n]);
g_MouseCursors[cursor_n] = NULL;
}
}
void ImGui_ImplSDL2_NewFrame(SDL_Window* window)