The refresh rate in SDL_DisplayMode is now a float
This commit is contained in:
1 parent
851b0e16be
commit
e3c1749f5b
32 files changed
+107
-83
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user