Home
last modified time | relevance | path

Searched refs:shouldCapture (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c1747 … const SDL_bool shouldCapture = (SDL_GetWindowFlags(current_win) & SDL_WINDOW_MOUSE_CAPTURE) == 0; in SDLTest_CommonEvent() local
1748 const int rc = SDL_CaptureMouse(shouldCapture); in SDLTest_CommonEvent()
1749 …SDL_Log("%sapturing mouse %s!\n", shouldCapture ? "C" : "Unc", (rc == 0) ? "succeeded" : "failed"); in SDLTest_CommonEvent()

Completed in 5 milliseconds