first vulkan function loaded with new loader

This commit is contained in:
Gregory Wells
2025-06-24 13:22:03 -04:00
parent a6a7c4c063
commit 2f2baf4586
7 changed files with 24 additions and 24 deletions

View File

@@ -7,14 +7,7 @@
gnReturnCode gnCreateInstance(gnInstanceHandle* instance, gnInstanceInfo info) {
*instance = malloc(sizeof(struct gnInstance_t));
(*instance)->instanceFunctions = loadInstanceFunctions(info.renderingAPI);
// instance->dynamicLib = gnLoadRenderingDLL(info.renderingAPI);
// if (instance->dynamicLib == NULL) return GN_UNABLE_TO_LOAD_DYNAMIC_LIBARRY;
// instance->functions = gnLoadFunctions(instance);
// if (info.debugger)
// instance->debugger = info.debugger;
(*instance)->debugger = info.debugger;
return (*instance)->instanceFunctions._gnCreateInstance((*instance), info);
}