Compiler warnings
This commit is contained in:
parent
55cbdbeedf
commit
c2907f9394
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue