mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 03:48:14 +00:00
The pixel format in SDL_DisplayMode uses SDL_PixelFormatEnum
This commit is contained in:
@@ -82,7 +82,7 @@ typedef enum
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
SDL_DisplayID displayID; /**< the display this mode is associated with */
|
SDL_DisplayID displayID; /**< the display this mode is associated with */
|
||||||
Uint32 format; /**< pixel format */
|
SDL_PixelFormatEnum format; /**< pixel format */
|
||||||
int w; /**< width */
|
int w; /**< width */
|
||||||
int h; /**< height */
|
int h; /**< height */
|
||||||
float pixel_density; /**< scale converting size to pixels (e.g. a 1920x1080 mode with 2.0 scale would have 3840x2160 pixels) */
|
float pixel_density; /**< scale converting size to pixels (e.g. a 1920x1080 mode with 2.0 scale would have 3840x2160 pixels) */
|
||||||
|
Reference in New Issue
Block a user