From a2d594269c9ddb0554a89ed0e652072bcc232d1b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Aug 2023 22:45:21 -0700 Subject: [PATCH] Fixed pixel format compatibility with SDL2 --- include/SDL3/SDL_pixels.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL3/SDL_pixels.h b/include/SDL3/SDL_pixels.h index 7fc636be7a..6da0b93a8b 100644 --- a/include/SDL3/SDL_pixels.h +++ b/include/SDL3/SDL_pixels.h @@ -91,6 +91,8 @@ typedef enum { SDL_ARRAYORDER_NONE, SDL_ARRAYORDER_RGB, + SDL_ARRAYORDER_UNUSED1, /* Left for compatibility with SDL2 */ + SDL_ARRAYORDER_UNUSED2, /* Left for compatibility with SDL2 */ SDL_ARRAYORDER_BGR } SDL_ArrayOrder;