Performance counters got function name changes

This commit is contained in:
twinaphex 2016-05-21 13:14:25 +02:00
parent 72e1a33715
commit 6bd7fd482c

View File

@ -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);
}