summaryrefslogtreecommitdiff
path: root/dependencies
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-02-10 17:44:36 -0500
committerFox Caminiti <fox@foxcam.net>2023-02-10 17:44:36 -0500
commit52c6ad3f2686cb66a8954ca5dac7f3eba4676cc3 (patch)
tree8a1d505378f5b23ad95e1b59396b04fe4852f0fc /dependencies
parent3d2e5b594b1872f866a698014c97ee4e98de6259 (diff)
ellipse and dumb cursor
Diffstat (limited to 'dependencies')
-rw-r--r--dependencies/src/imgui/imgui_impl_sdl.cpp6
1 files changed, 3 insertions, 3 deletions
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)