mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 01:38:12 +00:00
Performance counters got function name changes
This commit is contained in:
parent
72e1a33715
commit
6bd7fd482c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user