mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-10-31 15:20:13 +00:00
Unused instance_data
This commit is contained in:
parent
b2abe8073e
commit
5c4816efa5
@ -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]++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user