From 90d7e0989026f3387ba6f60e879074f876a7d9ab Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sun, 21 Jan 2018 18:27:06 +0100 Subject: [PATCH] Removed compiler warning --- base/vulkanexamplebase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index e3cafede..bfcd451e 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -258,7 +258,7 @@ void VulkanExampleBase::renderFrame() fpsTimer += (float)tDiff; if (fpsTimer > 1000.0f) { - lastFPS = (float)frameCounter * (1000.0f / fpsTimer); + lastFPS = static_cast((float)frameCounter * (1000.0f / fpsTimer)); #if defined(_WIN32) if (!settings.overlay) { std::string windowTitle = getWindowTitle();