[SDL] SDL_WM_SetIcon, Unable to load a BMP image or a surface

Vincent Williams vwillia3 at mail.usf.edu
Sun Apr 19 04:45:03 PDT 2009


Jesse -

I hate to say this, but I made a beginner mistake and called this function
before I called SDL_Init(). I have now placed my code in the correct
position and the icon does load and is shown. Please forgive me.

- Vincent Williams
 

Jesse A. wrote:
> 
> Can you post the rest of the code where you set the icon? I'm curious as
> to what happens after the 'if (image == null)' part...
> 

-- 
View this message in context: http://www.nabble.com/SDL_WM_SetIcon%2C-Unable-to-load-a-BMP-image-or-a-surface-tp23122017p23122197.html
Sent from the SDL mailing list archive at Nabble.com.




More information about the SDL mailing list