From 6bd7fd482cb79823d87231bdc99e3c0a11dbe27c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 21 May 2016 13:14:25 +0200 Subject: [PATCH] Performance counters got function name changes --- gfx/common/vulkan_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/common/vulkan_common.c b/gfx/common/vulkan_common.c index 0d4de0baf0..03217a5fb3 100644 --- a/gfx/common/vulkan_common.c +++ b/gfx/common/vulkan_common.c @@ -1701,11 +1701,11 @@ void vulkan_acquire_next_image(gfx_ctx_vulkan_data_t *vk) if (*next_fence != VK_NULL_HANDLE) { static struct retro_perf_counter fence_wait = {0}; - rarch_perf_init(&fence_wait, "fence_wait"); - retro_perf_start(&fence_wait); + performance_counter_init(&fence_wait, "fence_wait"); + performance_counter_start(&fence_wait); VKFUNC(vkWaitForFences)(vk->context.device, 1, next_fence, true, UINT64_MAX); - retro_perf_stop(&fence_wait); + performance_counter_stop(&fence_wait); VKFUNC(vkResetFences)(vk->context.device, 1, next_fence); }