Fixed random seed when run in benchmark mode

Refs #269
This commit is contained in:
saschawillems 2018-01-15 20:40:17 +01:00
parent cb32e2e89f
commit 5790f30c17
3 changed files with 8 additions and 13 deletions

View file

@ -65,7 +65,6 @@ private:
uint32_t destWidth;
uint32_t destHeight;
bool resizing = false;
vks::Benchmark benchmark;
vks::UIOverlay *UIOverlay = nullptr;
// Called if the window is resized and some resources have to be recreatesd
void windowResize();
@ -140,6 +139,8 @@ public:
/** @brief Returns os specific base asset path (for shaders, models, textures) */
const std::string getAssetPath();
vks::Benchmark benchmark;
/** @brief Encapsulated physical and logical vulkan device */
vks::VulkanDevice *vulkanDevice;