load instance functions
This commit is contained in:
@@ -129,7 +129,7 @@ gnReturnCode createInstance(gnInstanceHandle instance, gnInstanceInfo instanceIn
|
||||
return GN_SUCCESS;
|
||||
}
|
||||
|
||||
void gnDestroyInstanceFn(gnInstanceHandle instance) {
|
||||
void destroyInstance(gnInstanceHandle instance) {
|
||||
instance->valid = gnFalse;
|
||||
vkDestroyInstance(instance->instance->vk_instance, NULL);
|
||||
}
|
||||
|
||||
@@ -8,3 +8,4 @@ typedef struct gnPlatformInstance_t {
|
||||
} gnPlatformInstance;
|
||||
|
||||
gnReturnCode createInstance(gnInstanceHandle instance, gnInstanceInfo instanceInfo);
|
||||
void destroyInstance(gnInstanceHandle instance);
|
||||
|
||||
Reference in New Issue
Block a user