mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-23 03:28:30 +00:00
SDL_Log: restore SDL2's SDL_LogCategory order
This commit is contained in:

committed by
Anonymous Maarten

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);
|
||||
|
||||
|
Reference in New Issue
Block a user