| 1282 | // <- |
| 1283 | |
| 1284 | void RenderSystem::resizeSwapChain(bool p_Force) |
| 1285 | { |
| 1286 | if ((_swapChainUpdatePending && |
| 1287 | _timePassedSinceLastSwapChainUpdate >= _timeBetweenSwapChainUpdates) || |
| 1288 | p_Force) |
| 1289 | { |
| 1290 | vkDeviceWaitIdle(_vkDevice); |
| 1291 | |
| 1292 | initOrUpdateVkSwapChain(); |
| 1293 | reinitRendering(); |
| 1294 | |
| 1295 | _swapChainUpdatePending = false; |
| 1296 | _timePassedSinceLastSwapChainUpdate = 0.0f; |
| 1297 | } |
| 1298 | else |
| 1299 | { |
| 1300 | _timePassedSinceLastSwapChainUpdate += TaskManager::_lastDeltaT; |
| 1301 | } |
| 1302 | } |
| 1303 | |
| 1304 | // <- |
| 1305 |
nothing calls this directly
no outgoing calls
no test coverage detected