mirror of https://github.com/libsdl-org/SDL
Added test event logging for SDL_WINDOWEVENT_ICCPROF_CHANGED and SDL_WINDOWEVENT_DISPLAY_CHANGED
This commit is contained in:
parent
be3b1cff0b
commit
569fa3f57f
|
@ -1536,6 +1536,12 @@ static void SDLTest_PrintEvent(SDL_Event *event)
|
|||
case SDL_WINDOWEVENT_HIT_TEST:
|
||||
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " hit test", event->window.windowID);
|
||||
break;
|
||||
case SDL_WINDOWEVENT_ICCPROF_CHANGED:
|
||||
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " ICC profile changed", event->window.windowID);
|
||||
break;
|
||||
case SDL_WINDOWEVENT_DISPLAY_CHANGED:
|
||||
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " display changed to %d", event->window.windowID, event->window.data1);
|
||||
break;
|
||||
default:
|
||||
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " got unknown event 0x%4.4x",
|
||||
event->window.windowID, event->window.event);
|
||||
|
|
Loading…
Reference in New Issue