Project

General

Profile

Feature #35 ยป 0033-sdl3-Replace-SDL_FreeCursor-call-with-SDL_DestroyCur.patch

Marko Lindqvist, 12/07/2023 06:47 AM

View differences:

client/gui-sdl3/gui_mouse.c
for (cursor = 0; cursor < CURSOR_LAST; cursor++) {
for (frame = 0; frame < NUM_CURSOR_FRAMES; frame++) {
SDL_FreeCursor(fc_cursors[cursor][frame]);
SDL_DestroyCursor(fc_cursors[cursor][frame]);
}
}
SDL_FreeCursor(std_cursor);
SDL_FreeCursor(disabled_cursor);
SDL_DestroyCursor(std_cursor);
SDL_DestroyCursor(disabled_cursor);
}
/**********************************************************************//**
    (1-1/1)