From 52c6ad3f2686cb66a8954ca5dac7f3eba4676cc3 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Fri, 10 Feb 2023 17:44:36 -0500 Subject: ellipse and dumb cursor --- dependencies/src/imgui/imgui_impl_sdl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dependencies') diff --git a/dependencies/src/imgui/imgui_impl_sdl.cpp b/dependencies/src/imgui/imgui_impl_sdl.cpp index 9a68de7..3e54363 100644 --- a/dependencies/src/imgui/imgui_impl_sdl.cpp +++ b/dependencies/src/imgui/imgui_impl_sdl.cpp @@ -461,7 +461,7 @@ static SDL_Cursor *cursor_test(const char *image[]) int i, row, col; Uint8 data[4*32]; Uint8 mask[4*32]; - int hot_x, hot_y; + // int hot_x, hot_y; i = -1; for (row=0; row<32; ++row) { @@ -486,8 +486,8 @@ static SDL_Cursor *cursor_test(const char *image[]) } } } - sscanf(image[4+row], "%d,%d", &hot_x, &hot_y); - return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y); + // sscanf(image[4+row], "%d,%d", &hot_x, &hot_y); + return SDL_CreateCursor(data, mask, 32, 32, 0, 0); } static bool ImGui_ImplSDL2_Init(SDL_Window* window, SDL_Renderer* renderer, void* sdl_gl_context) -- cgit v1.2.3