ソースを参照

Fixed pixel format compatibility with SDL2

Sam Lantinga 2 年 前
コミット
a2d594269c
1 ファイル変更2 行追加0 行削除
  1. 2 0
      include/SDL3/SDL_pixels.h

+ 2 - 0
include/SDL3/SDL_pixels.h

@@ -91,6 +91,8 @@ typedef enum
 {
 {
     SDL_ARRAYORDER_NONE,
     SDL_ARRAYORDER_NONE,
     SDL_ARRAYORDER_RGB,
     SDL_ARRAYORDER_RGB,
+    SDL_ARRAYORDER_UNUSED1, /* Left for compatibility with SDL2 */
+    SDL_ARRAYORDER_UNUSED2, /* Left for compatibility with SDL2 */
     SDL_ARRAYORDER_BGR
     SDL_ARRAYORDER_BGR
 } SDL_ArrayOrder;
 } SDL_ArrayOrder;