[SDL] sdl newbie question.

gorm at lai.as gorm at lai.as
Thu Aug 23 07:11:01 PDT 2001


Quoting martin krois <mkr at cybercity.dk>:

> Hello all.
> 
> This is my first post to the sdl-list.
> 
> I have made a basic program that setup a window and draws some objects
> (C++/Windows2000), and I must say SDL is  great!
> 
> All works fine, including fullscreen.
> 
> However if I quit the application while in fullscreen mode, the
> resolution i set in SDL will remain.
> So if I have a 1280x1024 desktop, I have a 800x600 desktop after
> running
> my app.
> 
> If anyone has a way of getting around this I'd be very gratefull. I
> suppose one could set the mode before quitting? But how do I know what
> videomode people ran in the first place - I haven't found a
> 'SDL_GetVideoMode()'?
> 
> best regards,
> 
> Martin Krøis
> 
> ps.
> 
> http://www.libsdl.org/pipermail/sdl/
> 
> says year 2024... :)
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 
> 
I have never encountered this problem, but are you remembering to call SDL_Quit()?

/Gorm





More information about the SDL mailing list