Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.) --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401549
This commit is contained in:
parent
5ab1844363
commit
ab022a8987
33 changed files with 140 additions and 37 deletions
8
WhatsNew
8
WhatsNew
|
@ -4,7 +4,15 @@ This is a list of API changes in SDL's version history.
|
|||
Version 1.0:
|
||||
|
||||
1.2.10:
|
||||
Added current_w and current_h to the SDL_VideoInfo structure,
|
||||
which is set to the desktop resolution during video intialization,
|
||||
and then set to the current resolution when a video mode is set.
|
||||
|
||||
SDL_SetVideoMode() now accepts 0 for width or height and will use
|
||||
the current video mode (or the desktop mode if no mode has been set.)
|
||||
|
||||
Added SDL_GetKeyRepeat()
|
||||
|
||||
Added SDL_config.h, with defaults for various build environments.
|
||||
|
||||
1.2.7:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue