WhatsNew.txt 1.6 KB

12345678910111213141516171819202122232425262728293031
  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. * M_PI is no longer defined in SDL_stdinc.h, now the symbols SDL_PI_D (double) and SDL_PI_F (float) are available
  8. * SDL_GetWindowWMInfo() returns a standard int result code instead of SDL_bool, and takes SDL_SYSWM_CURRENT_VERSION as a new third parameter
  9. * The preprocessor symbol __MACOSX__ has been renamed __MACOS__
  10. * The preprocessor symbol __IPHONEOS__ has been renamed __IOS__
  11. * Removed the following functions from the API, see docs/README-migration.md for details:
  12. * SDL_CalculateGammaRamp()
  13. * SDL_GetRevisionNumber()
  14. * SDL_GetWindowBrightness()
  15. * SDL_GetWindowGammaRamp()
  16. * SDL_RWFromFP()
  17. * SDL_SetWindowBrightness()
  18. * SDL_SetWindowGammaRamp()
  19. * Removed the following hints from the API, see docs/README-migration.md for details:
  20. * SDL_HINT_IDLE_TIMER_DISABLED
  21. * SDL_HINT_VIDEO_X11_FORCE_EGL
  22. * SDL_HINT_VIDEO_X11_XINERAMA
  23. * SDL_HINT_VIDEO_X11_XVIDMODE
  24. * SDL_stdinc.h no longer includes stdio.h, stdlib.h, etc., it only provides the SDL C runtime functionality
  25. * Removed unused 'depth' parameter from SDL_CreateRGBSurfaceWithFormat and SDL_CreateRGBSurfaceWithFormatFrom
  26. * Removed unused 'flags' parameter from SDL_CreateRGBSurface and SDL_CreateRGBSurfaceWithFormat
  27. * Removed unused 'flags' parameter from SDL_ConvertSurface and SDL_ConvertSurfaceFormat