move device functions over to loader

This commit is contained in:
Gregory Wells
2025-06-24 13:46:01 -04:00
parent 93921452ba
commit 8d2c58b0e9
32 changed files with 172 additions and 134 deletions

View File

@@ -1,6 +1,6 @@
#include "gryphn_platform_functions.h"
#include "gryphn_present.h"
#include "output_device/gryphn_output_device.h"
gnReturnCode gnPresent(gnOutputDeviceHandle device, gnPresentInfo info) {
gnReturnCode gnPresent(gnDevice device, gnPresentInfo info) {
return device->deviceFunctions->_gnPresent(device, info);
}

View File

@@ -3,7 +3,7 @@
#include "stdint.h"
#include "gryphn_handles.h"
typedef struct gnPresentInfo_t {
typedef struct gnPresentInfo {
uint32_t waitCount;
gnSemaphoreHandle* waitSemaphores;
uint32_t presentationQueueCount;