mirror of https://github.com/libsdl-org/SDL.git
SDL_Log: restore SDL2's SDL_LogCategory order
This commit is contained in:
parent
26728c321f
commit
360bc667a8
|
|
@ -87,9 +87,9 @@ typedef enum SDL_LogCategory
|
|||
SDL_LOG_CATEGORY_AUDIO,
|
||||
SDL_LOG_CATEGORY_VIDEO,
|
||||
SDL_LOG_CATEGORY_RENDER,
|
||||
SDL_LOG_CATEGORY_GPU,
|
||||
SDL_LOG_CATEGORY_INPUT,
|
||||
SDL_LOG_CATEGORY_TEST,
|
||||
SDL_LOG_CATEGORY_GPU,
|
||||
|
||||
/* Reserved for future SDL library use */
|
||||
SDL_LOG_CATEGORY_RESERVED1,
|
||||
|
|
|
|||
|
|
@ -91,9 +91,9 @@ static const char * const SDL_category_names[] = {
|
|||
"AUDIO",
|
||||
"VIDEO",
|
||||
"RENDER",
|
||||
"GPU",
|
||||
"INPUT",
|
||||
"TEST"
|
||||
"TEST",
|
||||
"GPU"
|
||||
};
|
||||
SDL_COMPILE_TIME_ASSERT(category_names, SDL_arraysize(SDL_category_names) == SDL_LOG_CATEGORY_RESERVED1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue