Re: SDL_shape help

"brianhj" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
SDL_SetWindowShape is now returning 0 (success) but I'm not seeing a window at all when the program runs.  It's entirely invisible.

Things I've tried:
-PNG and BMP
-Alpha channel + 32-bit images
-2-bit images (black and white)
-SDL_SetColorKey on surface
-Different settings for SDL_WindowShapeMode and SDL_WindowShapeParams

SDL_SetWindowShape always returns 0 but the window is invisible.  If I take out the word "Shaped" in SDL_CreateShapedWindow and ignore the SDL_SetWindowShape failure the window appears fine (but not shaped, of course).

Here's my code:  http://pastebin.com/H52S1stC

Any ideas?

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.