PDA

View Full Version : SDL 1.2.10 released...



savage
17-05-2006, 06:59 PM
It's finally out and has some fairly major changes.


SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.

API enhancements

* If SDL_OpenAudio() is passed zero for the desired format fields, the following environment variables will be used to fill them in:


SDL_AUDIO_FREQUENCY
SDL_AUDIO_FORMAT
SDL_AUDIO_CHANNELS
SDL_AUDIO_SAMPLES

If an environment variable is not specified, it will be set to a reasonable default value.
* SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)
* Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
* SDL_GL_LoadLibrary() will load the system default OpenGL library if it is passed NULL as a parameter.
* Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
* Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
* SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
* Added SDL_GetKeyRepeat() to query the key repeat settings.
* Added the "dummy" audio driver, which can be used to emulate audio output without a sound card.
* Added SDL_config.h, with defaults for various build environments.

More information available from http://www.libsdl.org/release/changes-1.2.html

savage
17-05-2006, 07:38 PM
I have just checked in 1.2.10 changes into the JEDI-SDL CVS based on what was mentioned in the Change log document. If anyone spots anything else please let me know.

WILL
17-05-2006, 11:01 PM
Any plans for an update to JEDI-SDL, yet? :D