| 432 | } |
| 433 | |
| 434 | void ExampleBase::DrawFrame() |
| 435 | { |
| 436 | if (IsDrawable()) |
| 437 | { |
| 438 | // Draw frame in respective example project |
| 439 | OnDrawFrame(); |
| 440 | |
| 441 | #ifndef LLGL_OS_IOS |
| 442 | // Present the result on the screen - cannot be explicitly invoked on mobile platforms |
| 443 | swapChain->Present(); |
| 444 | #endif |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | void ExampleBase::Resize(const LLGL::Extent2D& clientAreaSize) |
| 449 | { |
no test coverage detected