mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 05:29:12 +00:00
Fixed pedantic warning: comma at end of enumerator list
Fixes https://github.com/libsdl-org/SDL/issues/7878
This commit is contained in:
parent
cc5e9ffe70
commit
0f4679102c
5 changed files with 7 additions and 7 deletions
|
@ -202,7 +202,7 @@ typedef enum
|
||||||
SDL_FOLDER_TEMPLATES,
|
SDL_FOLDER_TEMPLATES,
|
||||||
/** Video files that can be played using a standard video player (mp4,
|
/** Video files that can be played using a standard video player (mp4,
|
||||||
webm...). */
|
webm...). */
|
||||||
SDL_FOLDER_VIDEOS,
|
SDL_FOLDER_VIDEOS
|
||||||
} SDL_Folder;
|
} SDL_Folder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -103,7 +103,7 @@ typedef enum {
|
||||||
/** SPI bus
|
/** SPI bus
|
||||||
Specifications:
|
Specifications:
|
||||||
https://www.microsoft.com/download/details.aspx?id=103325 */
|
https://www.microsoft.com/download/details.aspx?id=103325 */
|
||||||
SDL_HID_API_BUS_SPI = 0x04,
|
SDL_HID_API_BUS_SPI = 0x04
|
||||||
|
|
||||||
} SDL_hid_bus_type;
|
} SDL_hid_bus_type;
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ typedef enum
|
||||||
{
|
{
|
||||||
SDL_ARRAYORDER_NONE,
|
SDL_ARRAYORDER_NONE,
|
||||||
SDL_ARRAYORDER_RGB,
|
SDL_ARRAYORDER_RGB,
|
||||||
SDL_ARRAYORDER_BGR,
|
SDL_ARRAYORDER_BGR
|
||||||
} SDL_ArrayOrder;
|
} SDL_ArrayOrder;
|
||||||
|
|
||||||
/** Packed component layout. */
|
/** Packed component layout. */
|
||||||
|
|
|
@ -67,7 +67,7 @@ typedef enum
|
||||||
SDL_RENDERER_SOFTWARE = 0x00000001, /**< The renderer is a software fallback */
|
SDL_RENDERER_SOFTWARE = 0x00000001, /**< The renderer is a software fallback */
|
||||||
SDL_RENDERER_ACCELERATED = 0x00000002, /**< The renderer uses hardware
|
SDL_RENDERER_ACCELERATED = 0x00000002, /**< The renderer uses hardware
|
||||||
acceleration */
|
acceleration */
|
||||||
SDL_RENDERER_PRESENTVSYNC = 0x00000004, /**< Present is synchronized
|
SDL_RENDERER_PRESENTVSYNC = 0x00000004 /**< Present is synchronized
|
||||||
with the refresh rate */
|
with the refresh rate */
|
||||||
} SDL_RendererFlags;
|
} SDL_RendererFlags;
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ typedef enum
|
||||||
SDL_LOGICAL_PRESENTATION_STRETCH, /**< The rendered content is stretched to the output resolution */
|
SDL_LOGICAL_PRESENTATION_STRETCH, /**< The rendered content is stretched to the output resolution */
|
||||||
SDL_LOGICAL_PRESENTATION_LETTERBOX, /**< The rendered content is fit to the largest dimension and the other dimension is letterboxed with black bars */
|
SDL_LOGICAL_PRESENTATION_LETTERBOX, /**< The rendered content is fit to the largest dimension and the other dimension is letterboxed with black bars */
|
||||||
SDL_LOGICAL_PRESENTATION_OVERSCAN, /**< The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds */
|
SDL_LOGICAL_PRESENTATION_OVERSCAN, /**< The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds */
|
||||||
SDL_LOGICAL_PRESENTATION_INTEGER_SCALE, /**< The rendered content is scaled up by integer multiples to fit the output resolution */
|
SDL_LOGICAL_PRESENTATION_INTEGER_SCALE /**< The rendered content is scaled up by integer multiples to fit the output resolution */
|
||||||
} SDL_RendererLogicalPresentation;
|
} SDL_RendererLogicalPresentation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -50,7 +50,7 @@ typedef enum
|
||||||
{
|
{
|
||||||
SDL_SYSTEM_THEME_UNKNOWN, /**< Unknown system theme */
|
SDL_SYSTEM_THEME_UNKNOWN, /**< Unknown system theme */
|
||||||
SDL_SYSTEM_THEME_LIGHT, /**< Light colored system theme */
|
SDL_SYSTEM_THEME_LIGHT, /**< Light colored system theme */
|
||||||
SDL_SYSTEM_THEME_DARK, /**< Dark colored system theme */
|
SDL_SYSTEM_THEME_DARK /**< Dark colored system theme */
|
||||||
} SDL_SystemTheme;
|
} SDL_SystemTheme;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -151,7 +151,7 @@ typedef enum
|
||||||
SDL_WINDOW_KEYBOARD_GRABBED = 0x00100000, /**< window has grabbed keyboard input */
|
SDL_WINDOW_KEYBOARD_GRABBED = 0x00100000, /**< window has grabbed keyboard input */
|
||||||
SDL_WINDOW_VULKAN = 0x10000000, /**< window usable for Vulkan surface */
|
SDL_WINDOW_VULKAN = 0x10000000, /**< window usable for Vulkan surface */
|
||||||
SDL_WINDOW_METAL = 0x20000000, /**< window usable for Metal view */
|
SDL_WINDOW_METAL = 0x20000000, /**< window usable for Metal view */
|
||||||
SDL_WINDOW_TRANSPARENT = 0x40000000, /**< window with transparent buffer */
|
SDL_WINDOW_TRANSPARENT = 0x40000000 /**< window with transparent buffer */
|
||||||
|
|
||||||
} SDL_WindowFlags;
|
} SDL_WindowFlags;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue