redo metal loader

This commit is contained in:
Gregory Wells
2025-08-03 17:52:39 -04:00
parent b5cd8ad7db
commit 3157dc0342
5 changed files with 10 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
#include "surface/metal_surface.h"
#include "devices/metal_output_devices.h"
gryphnInstanceFunctionLayers metalLoadAPILayer() {
gryphnInstanceFunctionLayers metalLoadAPILayer(void) {
return (gryphnInstanceFunctionLayers) {
.createInstance = metalCreateInstance,
.destroyInstance = metalDestroyInstance,
@@ -11,7 +11,7 @@ gryphnInstanceFunctionLayers metalLoadAPILayer() {
};
}
gnInstanceFunctions loadMetalInstanceFunctions() {
gnInstanceFunctions loadMetalInstanceFunctions(void) {
return (gnInstanceFunctions){
._gnGetPhysicalDevices = getMetalDevices,
._gnPhysicalDeviceCanPresentToSurface = metalCanDevicePresent,