Searched refs:shouldCapture (Results 1 – 1 of 1) sorted by relevance
1747 … const SDL_bool shouldCapture = (SDL_GetWindowFlags(current_win) & SDL_WINDOW_MOUSE_CAPTURE) == 0; in SDLTest_CommonEvent() local1748 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