loader: Don't have createInstance terminator code write the instance
authorJon Ashburn <jon@lunarg.com>
Tue, 26 Jan 2016 23:02:45 +0000 (16:02 -0700)
committerJon Ashburn <jon@lunarg.com>
Tue, 26 Jan 2016 23:16:04 +0000 (16:16 -0700)
object

loader/loader.c

index 83f1f5a..a51312e 100644 (file)
@@ -3344,8 +3344,6 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_CreateInstance(
         }
     }
 
-    *pInstance = (VkInstance) ptr_instance;
-
     return VK_SUCCESS;
 }