summaryrefslogtreecommitdiff
path: root/WhatsNew.txt
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2014-03-01 11:05:58 -0800
committerSam Lantinga <slouken@libsdl.org>2014-03-01 11:05:58 -0800
commite5f3a847ed30e205771090080b0a5560b88a194c (patch)
tree719242780f959f2e11c89f5079cba4f21225c09e /WhatsNew.txt
parent6406a22f475709522f552f4ec4b8b7d877a55140 (diff)
downloadsdl-e5f3a847ed30e205771090080b0a5560b88a194c.tar.gz
Updated with the latest 2.0.2 API changes
Diffstat (limited to 'WhatsNew.txt')
-rw-r--r--WhatsNew.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/WhatsNew.txt b/WhatsNew.txt
index a10938dd1..83c1be202 100644
--- a/WhatsNew.txt
+++ b/WhatsNew.txt
@@ -7,7 +7,7 @@ This is a list of major changes in SDL's version history.
General:
* Added SDL_GL_ResetAttributes() to reset OpenGL attributes to default values
* Added an API to load a database of game controller mappings from a file:
- SDL_GameControllerAddMappingsFromFile()
+ SDL_GameControllerAddMappingsFromFile(), SDL_GameControllerAddMappingsFromRW()
* Added game controller mappings for the PS4 and OUYA controllers
* Added SDL_GetDefaultAssertionHandler() and SDL_GetAssertionHandler()
* Added SDL_DetachThread()
@@ -15,6 +15,9 @@ General:
* Added SDL_vsscanf(), SDL_acos(), and SDL_asin() to the stdlib routines
* EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
them using SDL_GL_SHARE_WITH_CURRENT_CONTEXT
+* Added a field "clicks" to the mouse button event which records whether the event is a single click, double click, etc.
+* The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior.
+* Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping.
* testgl2 does not need to link with libGL anymore
* Added testgles2 test program to demonstrate working with OpenGL ES 2.0
* Added controllermap test program to visually map a game controller
@@ -22,16 +25,23 @@ General:
Windows:
* Support for OpenGL ES 2.x contexts using either WGL or EGL (natively via
the driver or emulated through ANGLE)
+* Added a hint SDL_HINT_VIDEO_WIN_D3DCOMPILER to specify which D3D shader compiler to use for OpenGL ES 2 support through ANGLE
+* Added a hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that is useful when creating multiple windows that should share the same OpenGL context.
+* Added an event SDL_RENDER_TARGETS_RESET that is sent when D3D9 render targets are reset after the device has been restored.
+
+Mac OS X:
+* Added a hint SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK to control whether Ctrl+click should be treated as a right click on Mac OS X. This is off by default.
+
+Linux:
+* Fixed fullscreen and focused behavior when receiving NotifyGrab events
+* Added experimental Wayland and Mir support, disabled by default
Android:
* Joystick support (minimum SDK version required to build SDL is now 12,
the required runtime version remains at 10, but on such devices joystick
support won't be available).
* Hotplugging support for joysticks
-
-Linux:
-* Fixed fullscreen and focused behavior when receiving NotifyGrab events
-* Added experimental Wayland and Mir support, disabled by default
+* Added a hint SDL_HINT_ACCEL_AS_JOY to control whether the accelerometer should be listed as a 3 axis joystick, which it will by default.
---------------------------------------------------------------------------