SDL_CreateRGBSurfaceFrom in Win32

Ive found some issues with the new 1.2.8 release af SDL.

Surface = SDL_CreateRGBSurfaceFrom (&Icon, 32, 32, 32, 128, 0, 0, 0, 0);

SDL_WM_SetIcon (Surface, NULL);

I use this to load in a huge pile of pixels (Icon which is an byte array of
the size 4096) and set an Icon on the newly made window.

This worked perfect in 1.2.7 but in 1.2.8 this icon will become single
colored using the color of the first pixel in this array i send it.

Am i doing something wrong or did something break in 1.2.8?

Ive seen this happen in Windows XP and havent had time to test it in SuSE or
MacOS yet.

Any help would be appreciated._________________________________________________________________
Hitta r?tt p? n?tet med MSN S?k http://search.msn.se/

Ive found some issues with the new 1.2.8 release af SDL.

Surface = SDL_CreateRGBSurfaceFrom (&Icon, 32, 32, 32, 128, 0, 0, 0, 0);

SDL_WM_SetIcon (Surface, NULL);

It doesn’t look like you’re setting up any masks for this surface.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment