| 308 | } |
| 309 | |
| 310 | void KNativeScreenSDL::present() { |
| 311 | if (KSystem::videoOption != VIDEO_NO_WINDOW) { |
| 312 | if (showOnDraw) { |
| 313 | showWindow(true); |
| 314 | } |
| 315 | SDL_RenderPresent(renderer); |
| 316 | } |
| 317 | presented = true; |
| 318 | #ifdef BOXEDWINE_RECORDER |
| 319 | if (Recorder::instance) { |
| 320 | BOXEDWINE_MUTEX_UNLOCK(drawingMutex); |
| 321 | } |
| 322 | #endif |
| 323 | } |
| 324 | |
| 325 | bool KNativeScreenSDL::presentedSinceLastCheck() { |
| 326 | bool result = presented; |
no test coverage detected