| 1493 | } |
| 1494 | |
| 1495 | void Graphics::SetWindowGrab(bool val) { |
| 1496 | if (!val || SDL_GetKeyboardFocus() == sdl_window_) { |
| 1497 | SDL_SetWindowGrab(sdl_window_, val ? SDL_TRUE : SDL_FALSE); |
| 1498 | } |
| 1499 | } |
| 1500 | |
| 1501 | void Graphics::SetClientStates(int flags) { |
| 1502 | SetClientStateEnabled(CS_VERTEX_ARRAY, (flags & F_VERTEX_ARRAY) != 0); |
no outgoing calls
no test coverage detected