Compiler warnings

This commit is contained in:
saschawillems 2016-12-23 16:11:38 +01:00
parent 55cbdbeedf
commit c2907f9394
2 changed files with 3 additions and 3 deletions

View file

@ -408,7 +408,7 @@ void VulkanExampleBase::renderLoop()
std::string windowTitle = getWindowTitle();
SetWindowText(window, windowTitle.c_str());
}
lastFPS = roundf(1.0f / frameTimer);
lastFPS = static_cast<uint32_t>(1.0f / frameTimer);
updateTextOverlay();
fpsTimer = 0.0f;
frameCounter = 0;