Skip to main content
gamedev.net
šŸ”’ Locked

[SDL]SDL_WM_SetIcon

Started by Uphoreum Aug 13, 2006 at 5:35 PM 1 replies 700+ views
Original Post
Uphoreum
Uphoreum
I'm using: SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), NULL); before SDL_SetVideoMode like it says in the Documentation but it's just not working. The window icon stays as the default windows icon. The image is 32*32 like it says. Is there a certain bit-depth? What am I doing wrong? EDIT: Come to think of it, SDL_WM_ToggleFullScreen doesn't work either... [Edited by - Uphoreum on August 13, 2006 6:28:04 PM]
Uphoreum
Uphoreum
Nevermind, I figured it out. This is a little embarassing but, the path was wrong... lol
minamur
minamur
Quote:
Original post by Uphoreum
EDIT: Come to think of it, SDL_WM_ToggleFullScreen doesn't work either...


in the sdl doc it says that SDL_WM_ToggleFullScreen is only implimented in xwin i believe. you could probably do it yourself though.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.