Removed compiler warning
This commit is contained in:
parent
4b0bb1a454
commit
90d7e09890
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ void VulkanExampleBase::renderFrame()
|
|||
fpsTimer += (float)tDiff;
|
||||
if (fpsTimer > 1000.0f)
|
||||
{
|
||||
lastFPS = (float)frameCounter * (1000.0f / fpsTimer);
|
||||
lastFPS = static_cast<uint32_t>((float)frameCounter * (1000.0f / fpsTimer));
|
||||
#if defined(_WIN32)
|
||||
if (!settings.overlay) {
|
||||
std::string windowTitle = getWindowTitle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue