1 |
1 |
2 This is a list of API changes in SDL's version history. |
2 This is a list of major changes in SDL's version history. |
3 |
3 |
|
4 --------------------------------------------------------------------------- |
|
5 2.0.1: |
|
6 --------------------------------------------------------------------------- |
|
7 |
|
8 General: |
|
9 * Added an API to get common filesystem paths in SDL_filesystem.h: |
|
10 SDL_GetBasePath(), SDL_GetPrefPath() |
|
11 * Added an API to do optimized YV12 and IYUV texture updates: |
|
12 SDL_UpdateYUVTexture() |
|
13 * Added an API to get the amount of RAM on the system: |
|
14 SDL_GetSystemRAM() |
|
15 * Added a macro to perform timestamp comparisons with SDL_GetTicks(): |
|
16 SDL_TICKS_PASSED() |
|
17 * Dramatically improved OpenGL ES 2.0 rendering performance |
|
18 * Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE |
|
19 |
|
20 Windows: |
|
21 * Created a static library configuration for the Visual Studio 2010 project |
|
22 * Added a hint to create the Direct3D device with support for multi-threading: |
|
23 SDL_HINT_RENDER_DIRECT3D_THREADSAFE |
|
24 * Added a function to get the D3D9 adapter index for a display: |
|
25 SDL_Direct3D9GetAdapterIndex() |
|
26 * Added a function to get the D3D9 device for a D3D9 renderer: |
|
27 SDL_RenderGetD3D9Device() |
|
28 * Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred) |
|
29 * Fixed crash when using two XInput controllers at the same time |
|
30 * Fixed detecting a mixture of XInput and DirectInput controllers |
|
31 * Fixed clearing a D3D render target larger than the window |
|
32 * Improved support for format specifiers in SDL_snprintf() |
|
33 |
|
34 Mac OS X: |
|
35 * Added support for retina displays: |
|
36 Create your window with the SDL_WINDOW_ALLOW_HIGHDPI flag, and then use SDL_GL_GetDrawableSize() to find the actual drawable size. You are responsible for scaling mouse and drawing coordinates appropriately. |
|
37 * Fixed mouse warping in fullscreen mode |
|
38 * Right mouse click is emulated by holding the Ctrl key while left clicking |
|
39 |
|
40 Linux: |
|
41 * Fixed float audio support with the PulseAudio driver |
|
42 * Fixed missing line endpoints in the OpenGL renderer on some drivers |
|
43 * X11 symbols are no longer defined to avoid collisions when linking statically |
|
44 |
|
45 iOS: |
|
46 * Fixed status bar visibility on iOS 7 |
|
47 * Flipped the accelerometer Y axis to match expected values |
|
48 |
|
49 Android: |
|
50 IMPORTANT: You MUST get the updated SDLActivity.java to match C code |
|
51 * Moved EGL initialization to native code |
|
52 * Fixed the accelerometer axis rotation relative to the device rotation |
|
53 * Fixed race conditions when handling the EGL context on pause/resume |
|
54 * Touch devices are available for enumeration immediately after init |
|
55 |
|
56 Raspberry Pi: |
|
57 * Added support for the Raspberry Pi, see README-raspberrypi.txt for details |