summaryrefslogtreecommitdiff
path: root/dependencies/src/imgui
diff options
context:
space:
mode:
Diffstat (limited to 'dependencies/src/imgui')
-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)