| 87 | } |
| 88 | |
| 89 | void GPUSwapChain::Present(bool vsync) |
| 90 | { |
| 91 | // Check if need to show the window after the 1st paint |
| 92 | if (_window->_showAfterFirstPaint) |
| 93 | { |
| 94 | _window->_showAfterFirstPaint = false; |
| 95 | _window->Show(); |
| 96 | } |
| 97 | |
| 98 | // Count amount of present calls |
| 99 | _presentCount++; |
| 100 | } |
| 101 | |
| 102 | String GPUSwapChain::ToString() const |
| 103 | { |