fix a lot of things
This commit is contained in:
@@ -139,6 +139,7 @@ loaderLayer null_layer() {
|
||||
|
||||
loaderLayer api_loaded_layer(gnRenderingAPI api) {
|
||||
return (loaderLayer){
|
||||
.instanceFunctions = loadAPIInstanceFunctions(api),
|
||||
.deviceFunctions = loadAPIDeviceFunctions(api),
|
||||
.commandFunctions = loadAPICommandFunctions(api),
|
||||
};
|
||||
@@ -146,6 +147,7 @@ loaderLayer api_loaded_layer(gnRenderingAPI api) {
|
||||
|
||||
loaderLayer function_check_layer() {
|
||||
return (loaderLayer){
|
||||
.instanceFunctions = loadFunctionLoaderInstanceFunctions(),
|
||||
.deviceFunctions = loadFunctionLoaderDeviceFunctions(),
|
||||
.commandFunctions = loadFunctionLoaderCommandFunctions(),
|
||||
|
||||
|
@@ -4,7 +4,6 @@
|
||||
#include "gryphn_command_functions.h"
|
||||
#include "gryphn_loader_info.h"
|
||||
#include "utils/lists/gryphn_array_list.h"
|
||||
#include <Dispatcher/dispatcher.h>
|
||||
|
||||
#include "extensions/synchronization/loader/sync_functions.h"
|
||||
#include "extensions/queues/queues_functions.h"
|
||||
@@ -25,8 +24,7 @@ typedef struct loaderLayer {
|
||||
// they used to be loaded seperatly but I guess there not anymore
|
||||
// initlization is hard
|
||||
|
||||
// gnInstanceFunctions instanceFunctions;
|
||||
|
||||
gnInstanceFunctions instanceFunctions;
|
||||
gnDeviceFunctions deviceFunctions;
|
||||
gnCommandFunctions commandFunctions;
|
||||
|
||||
|
Reference in New Issue
Block a user