Hi,
The shaped window implementation is currently broken / incomplete under Mac OS X (dunno about other platforms!), see Bug 2257 - Shaped Windows under Mac OS X for details on why & what.
Unfortunately, I do not know nearly enough about those low-level details ;-(
Cheers,
Jeffrey Carpenter
<@Jeffrey_Carpenter>On 2014/03/ 31, at 9:58, ebol wrote:
Hello,
I’m currently porting my SDL based app from Windows to Mac. Sadly, neither my code nor the example provided in testshape.c works on my Mac (both cases are working on Windows).
The version from testshape.c just displays the whole window covered in black & white texture. My version, which uses png file with transparency, draws to the window only the non-transparent pixels (correct) but the rest of the window remains painted with “RenderDrawColor”.
My working environment: SDL version 2.0.3, OSX 10.9.2, Xcode 5.1.
Any ideas what can cause this problem? Are ShapedWindows fully implemented on Windows, Mac and Linux or some of the platforms are still work-in-progress? Thanks in advance!
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org