WhatsNew.txt 2.5 KB

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