From 5c4816efa5295ae82495cc6165c772ac2badaac3 Mon Sep 17 00:00:00 2001 From: jackun Date: Thu, 13 Feb 2020 20:54:17 +0200 Subject: [PATCH] Unused instance_data --- src/overlay.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/overlay.cpp b/src/overlay.cpp index e9263ce..0bceb90 100644 --- a/src/overlay.cpp +++ b/src/overlay.cpp @@ -2109,7 +2109,6 @@ static struct overlay_draw *before_present(struct swapchain_data *swapchain_data unsigned n_wait_semaphores, unsigned imageIndex) { - struct instance_data *instance_data = swapchain_data->device->instance; struct overlay_draw *draw = NULL; snapshot_swapchain_frame(swapchain_data); @@ -2177,7 +2176,6 @@ static VkResult overlay_QueuePresentKHR( { struct queue_data *queue_data = FIND(struct queue_data, queue); struct device_data *device_data = queue_data->device; - struct instance_data *instance_data = device_data->instance; device_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_frame]++;