Hello, i want to change my mouse cursor in my sfml window.
Using C++ SFML 2.5.0 on Linux.
This is the image that i want to set as cursor:
(Red Rectangle)
cursor.loadFromPixels(image.getPixelsPtr(), image.getSize(), {0,0});
window.setMouseCursor(cursor);
but if i run the application it looks strange:
what i need to do to fix it?
Thanks