mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 00:17:40 +00:00
Added the concept of display natural orientation
Also renamed SDL_GetDisplayOrientation() SDL_GetDisplayCurrentOrientation() The natural orientation of the primary display is the frame of reference for accelerometer and gyro sensor readings.
This commit is contained in:
parent
8de6ce7e92
commit
e6d1ba2a17
20 changed files with 213 additions and 79 deletions
|
@ -166,7 +166,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetDisplayForPoint;
|
||||
SDL_GetDisplayForRect;
|
||||
SDL_GetDisplayName;
|
||||
SDL_GetDisplayOrientation;
|
||||
SDL_GetDisplayCurrentOrientation;
|
||||
SDL_GetDisplayUsableBounds;
|
||||
SDL_GetError;
|
||||
SDL_GetErrorMsg;
|
||||
|
@ -866,6 +866,7 @@ SDL3_0.0.0 {
|
|||
SDL_hid_get_report_descriptor;
|
||||
SDL_HasWindowSurface;
|
||||
SDL_DestroyWindowSurface;
|
||||
SDL_GetDisplayNaturalOrientation;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue