From f53bdc953154e689bc843657134bf719591f0798 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 7 Mar 2024 03:39:06 -0800 Subject: [PATCH] The pixel format in SDL_DisplayMode uses SDL_PixelFormatEnum --- include/SDL3/SDL_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index e6dbf72f1e..fde2f56b56 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -82,7 +82,7 @@ typedef enum typedef struct { SDL_DisplayID displayID; /**< the display this mode is associated with */ - Uint32 format; /**< pixel format */ + SDL_PixelFormatEnum format; /**< pixel format */ int w; /**< width */ int h; /**< height */ float pixel_density; /**< scale converting size to pixels (e.g. a 1920x1080 mode with 2.0 scale would have 3840x2160 pixels) */