diff options
Diffstat (limited to 'src/device_clock.cc')
| -rw-r--r-- | src/device_clock.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device_clock.cc b/src/device_clock.cc index 52c86d3..8e0e408 100644 --- a/src/device_clock.cc +++ b/src/device_clock.cc @@ -1,5 +1,6 @@ #include "device_clock.hh" #include "device_context.hh" +#include "helper.hh" #include <vulkan/vulkan_core.h> @@ -37,7 +38,7 @@ void DeviceClock::calibrate() { }; auto calibrated_result = CalibratedResult{}; - THROW_NON_VKSUCCESS(device.vtable.GetCalibratedTimestampsKHR( + THROW_NOT_VKSUCCESS(device.vtable.GetCalibratedTimestampsKHR( device.device, 2, std::data(infos), &calibrated_result.device, &this->error_bound)); |
