Show the cursor.
Defined in <SDL3/SDL_mouse.h>
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.
int main(int argc, char *argv[]) {
/* ... */
if (SDL_ShowCursor() < 0) {
SDL_Log("Failed to show the cursor");
}
/* ... */
return 0;
}