Color cursor transparency appears to be broken with AMD GPUs on Linux
(fglrx driver). There’s a colored box around my cursor where there
should be transparency.
Currently there doesn’t appear to be a test program for this.
test_automation has some code but that doesn’t allow you to actually
see the results. Attached is a small program which allows you to switch
cursors. If you find it useful feel free to add it to tests. Just clean
it up and add error handling first
This works on Windows, Mac and Linux with Nvidia GPUs (binary driver).
Intel GPUs or free drivers not tested. Could someone with access to them
This looks like an AMD bug. Quick googling finds similar problem in
Legend of Grimrock:
Does someone know who ported it and does it use SDL2?
Can SDL do anything about this or is the only recourse for AMD to fix
Present in both 2.0.3 and latest Hg.
Also the wiki on SDL_CreateCursor is out of date. It doesn’t mention
SDL_CreateColorCursor and suggests drawing color cursors yourself.
-------------- next part --------------
A non-text attachment was scrubbed…
Size: 4577 bytes
Desc: not available