Problem with "SDL_WM_SetIcon", need some help

Hi,

Please look at the following image:
http://www.silentheroproductions.com/images/SDL_WM_SetIcon-ISSUE.bmp

I draw a 16x16x16color icon BMP.
I use: SDL_WM_SetIcon(SDL_LoadBMP(“data/visuals/icon.bmp”), NULL); to
load and display program icon.
(i do this before initializing the screen)
Problem is it does not look right.

Can someone help me with this?
The original icon BMP is attached to this e-mail.

Using Dev C++ on Windows XP…

Jesse “JeZ+Lee” Palser
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

-------------- next part --------------
A non-text attachment was scrubbed…
Name: icon.bmp
Type: image/bmp
Size: 246 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080704/d2f8c9e6/attachment.bin

Jesse P. wrote:> Hi,

Please look at the following image:
http://www.silentheroproductions.com/images/SDL_WM_SetIcon-ISSUE.bmp

I draw a 16x16x16color icon BMP.
I use: SDL_WM_SetIcon(SDL_LoadBMP(“data/visuals/icon.bmp”), NULL); to
load and display program icon.
(i do this before initializing the screen)
Problem is it does not look right.

Can someone help me with this?
The original icon BMP is attached to this e-mail.

Using Dev C++ on Windows XP…

Jesse “JeZ+Lee” Palser
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com