diff --git a/base/vulkanexamplebase.h b/base/vulkanexamplebase.h index ac9c984b..a506f031 100644 --- a/base/vulkanexamplebase.h +++ b/base/vulkanexamplebase.h @@ -63,6 +63,7 @@ protected: float frameTimer = 1.0f; // Frame counter to display fps uint32_t frameCounter = 0; + uint32_t lastFPS = 0.0f; // Vulkan instance, stores all per-application states VkInstance instance; // Physical device (GPU) that Vulkan will ise