[SDL] Best init code and sd
slouken at devolution.com
Tue Jan 23 22:43:38 PST 2001
> What's the best way to initialise a full screen SDL application with double
> buffering/hardware surfaces if available, but the next best full screen mode
> if it's not?
SDL automatically does this for you. Just set your desired video mode, and
SDL will do its best to return what you asked for, luckily, exactly what you
> Also, I'm using SDL_Mixer, and am finding that Mix_VolumeMusic(x) will turn
> my music volume off if x is set to 0, and on if it is a non zero value. It
> doesn't actually increase/decrease the volume between 0-100% though. Is
> this a bug or is it a me bug?
What kind of music format are you playing?
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
More information about the SDL