docs.html
author Sam Lantinga <slouken@libsdl.org>
Thu, 12 Jul 2007 05:32:07 +0000
changeset 2177 4f896c20caf6
parent 1895 c121d94672cb
child 3269 a67a961e2171
permissions -rw-r--r--
Added note about SDL_config.h - merged from revision 3227 on SDL 1.2 branch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     1
<HTML>
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     2
<HEAD><TITLE>SDL Stable Release</TITLE></HEAD>
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     3
<BODY BGCOLOR="#FFEBCD" TEXT="#000000">
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     4
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     5
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     6
<P>
511
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
     7
This source is stable, and is fully tested on all supported platforms.<br>
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
     8
Please send bug reports or questions to the SDL mailing list:<br>
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
     9
<a href="http://www.libsdl.org/mailing-list.php"
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
    10
        >http://www.libsdl.org/mailing-list.php</a><br>
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
    11
The latest stable release may be found on the
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
    12
	<a href="http://www.libsdl.org/">SDL website</A>.
79c189f5bd76 Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents: 509
diff changeset
    13
</P>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    14
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    15
<H2> <A HREF="docs/index.html">API Documentation</A> </H2>
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    16
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    17
<H2> SDL 1.2.10 Release Notes </H2>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    18
<P>
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    19
SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    20
</P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    21
<H3> API enhancements </H3>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    22
<UL>
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    23
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    24
	If SDL_OpenAudio() is passed zero for the desired format
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    25
	fields, the following environment variables will be used
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    26
	to fill them in:
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    27
<pre><code>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    28
		SDL_AUDIO_FREQUENCY
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    29
		SDL_AUDIO_FORMAT
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    30
		SDL_AUDIO_CHANNELS
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    31
		SDL_AUDIO_SAMPLES
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    32
</code></pre>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    33
	If an environment variable is not specified, it will be set
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    34
	to a reasonable default value.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    35
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    36
	SDL_SetVideoMode() now accepts 0 for width or height and will use
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    37
	the current video mode (or the desktop mode if no mode has been set.)
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    38
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    39
	Added current_w and current_h to the SDL_VideoInfo structure,
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    40
	which is set to the desktop resolution during video intialization,
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    41
	and then set to the current resolution when a video mode is set.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    42
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    43
	SDL_GL_LoadLibrary() will load the system default OpenGL library
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    44
	if it is passed NULL as a parameter.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    45
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    46
	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    47
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    48
	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    49
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    50
	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    51
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    52
	Added SDL_GetKeyRepeat() to query the key repeat settings.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    53
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    54
	Added the "dummy" audio driver, which can be used to emulate audio
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    55
	output without a sound card.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    56
<LI>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    57
	Added SDL_config.h, with defaults for various build environments.
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    58
</UL>
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    59
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    60
<H3> General Notes </H3>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    61
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    62
<BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    63
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    64
	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    65
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    66
	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    67
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    68
	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    69
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    70
	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    71
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    72
	The entire build system has been revamped to make it much more portable, including versions of C library functions to make it possible to run SDL on a minimal embedded environment.  See README.Porting in the SDL source distribution for information on how to port SDL to a new platform.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    73
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    74
	SDL_opengl.h has been updated with the latest glext.h from <A HREF="http://oss.sgi.com/projects/ogl-sample/registry/">http://oss.sgi.com/projects/ogl-sample/registry/</A>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    75
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    76
	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    77
</BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    78
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    79
<H3> Unix Notes </H3>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    80
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    81
<BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    82
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    83
	The X11 libraries are dynamically loaded at runtime by default.  This allows the distributed version of SDL to run on systems without X11 libraries installed.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    84
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    85
	The XiG XME extension code is now included in the X11 video driver by default.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    86
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    87
	XRandR support for video mode switching has been added to the X11 driver, but is disabled because of undesired interactions with window managers.  You can enable this by setting the environment variable SDL_VIDEO_X11_XRANDR to 1.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    88
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    89
	Xinerama multi-head displays are properly handled now, and the SDL_VIDEO_FULLSCREEN_HEAD environment variable can be used to select the screen used for fullscreen video modes.  Note that changing the video modes only works on screen 0.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    90
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    91
	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    92
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    93
	SDL windows are no longer transparent in X11 compositing systems like XGL.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    94
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    95
	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    96
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    97
	The X11 input driver now uses XIM to handle international input.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    98
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
    99
	The screensaver and DPMS monitor blanking are disabled while SDL games are running under the X11 and DGA video drivers.  This behavior will be formalized and selectable in SDL 1.3.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   100
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   101
	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   102
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   103
	The DGA video driver now waits for pending blits involving surfaces before they are freed.  This prevents display oddities when using SDL_DisplayFormat() to convert many images.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   104
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   105
	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   106
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   107
	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   108
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   109
	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   110
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   111
	The framebuffer console input driver correctly sets IMPS/2 mode for wheel mice.  It also properly detects when gpm is in IMPS/2 protocol mode, or passing raw protocol from an IMPS/2 mouse.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   112
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   113
	The SVGAlib video driver now has support for banked (non-linear) video modes.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   114
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   115
	A video driver for OpenBSD on the Sharp Zaurus has been contributed by Staffan Ulfberg.  See the file README.wscons in the SDL source distribution for details.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   116
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   117
	Many patches have been incorporated from *BSD ports.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   118
</BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   119
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   120
<H3> Windows Notes </H3>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   121
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   122
<BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   123
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   124
	The "windib" video driver is the default now, to prevent problems with certain laptops, 64-bit Windows, and Windows Vista.  The DirectX driver is still available, and can be selected by setting the environment variable SDL_VIDEODRIVER to "directx".
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   125
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   126
	SDL has been ported to 64-bit Windows.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   127
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   128
	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   129
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   130
	The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions.  A full API for querying and selecting refresh rates is planned for SDL 1.3.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   131
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   132
	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   133
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   134
	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   135
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   136
	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   137
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   138
	Window positions are retained when switching between fullscreen and windowed modes.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   139
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   140
	ToUnicode() is used, when available, for improved handling of international keyboard input.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   141
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   142
	The PrtScrn is now treated normally with both key down and key up events.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   143
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   144
	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   145
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   146
	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   147
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   148
	An MCI error when playing the last track on a CD-ROM has been fixed.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   149
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   150
	OpenWatcom projects for building SDL have been provided by Marc Peter.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   151
</BLOCKQUOTE>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   152
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   153
<H3> Mac OS X Notes </H3>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   154
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   155
<BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   156
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   157
	SDL now supports building Universal binaries, both through Xcode projects and when using configure/make.  See README.MacOSX in the SDL source archive for details.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   158
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   159
	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   160
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   161
	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   162
<P>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   163
	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   164
</BLOCKQUOTE>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   165
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   166
<H3> OS/2 Notes </H3>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   167
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   168
<BLOCKQUOTE>
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   169
<P>
1840
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   170
	Projects for building SDL on OS/2 with OpenWatcom have been contributed by Doodle.  See the file README.OS2 in the SDL source distribution for details.
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   171
</BLOCKQUOTE>
c6a447c98584 Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents: 1124
diff changeset
   172
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   173
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   174
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   175
</BODY>
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
   176
</HTML>