mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 18:37:40 +00:00
The refresh rate in SDL_DisplayMode is now a float
This commit is contained in:
parent
851b0e16be
commit
e3c1749f5b
32 changed files with 107 additions and 83 deletions
|
@ -78,7 +78,7 @@ typedef struct
|
|||
int logical_h;
|
||||
float scale;
|
||||
int depth;
|
||||
int refresh_rate;
|
||||
float refresh_rate;
|
||||
int num_windows;
|
||||
SDL_Window **windows;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ typedef struct
|
|||
Uint32 format; /**< pixel format */
|
||||
int w; /**< width, in screen coordinates */
|
||||
int h; /**< height, in screen coordinates */
|
||||
int refresh_rate; /**< refresh rate (or zero for unspecified) */
|
||||
float refresh_rate; /**< refresh rate (or zero for unspecified) */
|
||||
void *driverdata; /**< driver-specific data, initialize to 0 */
|
||||
} SDL_DisplayMode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue