forked from GSoC/sdl-2.30.3-kolibri
Custom cursor is not working properly #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to load a .bmp image as SDL_Texture and create an SDL_Cursor from it.
On Windows and Linux everything works fine, but in KOS I get one of two options:
If the picture is smaller than 32x32 pixels (16x16, 31x31, etc.), it gets horribly distorted, but still loaded and working.
If it is exactly 32x32 pixels, I get an error in the debug board that the cursor should be 32x32 pixels, and just default SDL cursor is loaded.
Fixed with commit
ff40403123
.