WhatsNew.txt 1.3 KB

123456789101112131415161718
  1. This is a list of major changes in SDL's version history.
  2. ---------------------------------------------------------------------------
  3. 3.2.0:
  4. ---------------------------------------------------------------------------
  5. General:
  6. * SDL headers should now be included as `#include <SDL3/SDL.h>`
  7. * Many functions and symbols have changed since SDL 2.0, see the [migration guide](docs/README-migration.md) for details
  8. * The preprocessor symbol __MACOSX__ has been renamed __MACOS__
  9. * The preprocessor symbol __IPHONEOS__ has been renamed __IOS__
  10. * SDL_stdinc.h no longer includes stdio.h, stdlib.h, etc., it only provides the SDL C runtime functionality
  11. * Added SDL_CreateSurface() and SDL_CreateSurfaceFrom() which replace SDL_CreateRGBSurface*(), and can also be used to create YUV surfaces
  12. * SDL_GetTicks() now returns a 64-bit value and the tick values should be directly compared instead of using the SDL_TICKS_PASSED macro
  13. * Added SDL_GetTicksNS() to return the number of nanoseconds since the SDL library initialized
  14. * Added SDL_DelayNS() to specify a delay in nanoseconds, to the highest precision the system will support
  15. * The timestamp member of the SDL_Event structure is now in nanoseconds, filled in with the time the event was generated, or the time it was queued if that's not available