From 4836620a667789e5be79a9917a214fd1edf749cd Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Fri, 22 May 2015 18:56:22 -0600 Subject: loader: simplify wrapping setup --- loader/loader.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'loader') diff --git a/loader/loader.c b/loader/loader.c index 10c65cd5..0801ab24 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1229,11 +1229,6 @@ extern uint32_t loader_activate_device_layers( } loader_init_device_dispatch_table(icd->loader_dispatch + gpu_index, nextGPA, (VkPhysicalDevice) nextObj); - //Insert the new wrapped objects into the list with loader object at head - nextGpuObj = icd->wrappedGpus[gpu_index] + icd->layer_count[gpu_index] - 1; - nextGpuObj->nextObject = baseObj; - nextGpuObj->pGPA = icd->GetDeviceProcAddr; - } else { // TODO: Check that active layers match requested? } -- cgit v1.2.3