Unused instance_data

This commit is contained in:
jackun 2020-02-13 20:54:17 +02:00
parent b2abe8073e
commit 5c4816efa5
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

View File

@ -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]++;