Code cleanup

This commit is contained in:
Sascha Willems 2024-11-23 15:37:57 +01:00
parent 4d91720ccc
commit 0f56b8270d
5 changed files with 38 additions and 41 deletions

View file

@ -1,7 +1,7 @@
/*
* Benchmark class
* Benchmark class - Can be used for automated benchmarks
*
* Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de
* Copyright (C) 2016-2024 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
@ -18,8 +18,8 @@ namespace vks
{
class Benchmark {
private:
FILE *stream;
VkPhysicalDeviceProperties deviceProps;
FILE* stream{ nullptr };
VkPhysicalDeviceProperties deviceProps{};
public:
bool active = false;
bool outputFrameTimes = false;