start using the dispatcher
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "core/gryphn_return_code.h"
|
||||
#include "core/src/instance/gryphn_debugger.h"
|
||||
#include <gryphn_extensions.h>
|
||||
#include "Dispatcher/dispatcher.h"
|
||||
|
||||
typedef struct gnApplicationInfo {
|
||||
gnString applicationName;
|
||||
@@ -26,14 +27,16 @@ typedef struct gnInstanceCreateInfo {
|
||||
#include <loader/src/gryphn_loader.h>
|
||||
struct gnInstance_t {
|
||||
struct gnPlatformInstance_t* instance;
|
||||
gnDebuggerCreateInfo debugger;
|
||||
gnBool enabledExtensions[GN_EXT_MAX];
|
||||
dispatcher dispatch;
|
||||
|
||||
loaderLayerArrayList layers;
|
||||
loaderLayer* callingLayer;
|
||||
uint32_t currentLayer;
|
||||
gnBool enabledExtensions[GN_EXT_MAX];
|
||||
gnBool hasDebugger;
|
||||
gnDebuggerCreateInfo debugger;
|
||||
};
|
||||
#endif
|
||||
|
||||
gnReturnCode gnCreateInstance(gnInstanceHandle* instance, gnInstanceCreateInfo* info);
|
||||
void gnDestroyInstance(gnInstanceHandle instance);
|
||||
void gnDestroyInstance(gnInstanceHandle* instance);
|
||||
|
Reference in New Issue
Block a user