mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 01:08:26 +00:00
Added SDL_SetWindowAspectRatio() and SDL_GetWindowAspectRatio()
Fixes https://github.com/libsdl-org/SDL/issues/1573
This commit is contained in:
parent
aacafd6233
commit
c74886ab00
15 changed files with 364 additions and 36 deletions
|
@ -76,6 +76,8 @@ typedef struct
|
|||
int window_minH;
|
||||
int window_maxW;
|
||||
int window_maxH;
|
||||
float window_min_aspect;
|
||||
float window_max_aspect;
|
||||
int logical_w;
|
||||
int logical_h;
|
||||
SDL_bool auto_scale_content;
|
||||
|
@ -84,6 +86,7 @@ typedef struct
|
|||
float scale;
|
||||
int depth;
|
||||
float refresh_rate;
|
||||
SDL_bool fill_usable_bounds;
|
||||
SDL_bool fullscreen_exclusive;
|
||||
SDL_DisplayMode fullscreen_mode;
|
||||
int num_windows;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue