move present over to sync extension

This commit is contained in:
Gregory Wells
2025-07-09 20:35:16 -04:00
parent f44b73665b
commit 9ae7689ab8
11 changed files with 64 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ gnDeviceFunctions loadVulkanDeviceFunctions() {
._gnDestroyTexture = destroyTexture,
._gnSubmit = vulkanSubmit,
._gnPresent = present,
._gnPresent = vulkanPresent,
._gnWaitForDevice = waitForDevice
};

View File

@@ -3,6 +3,7 @@
#include <sync/fence/vulkan_fence.h>
#include "presentation_queue/vulkan_presentation_queue.h"
#include "submit/vulkan_submit.h"
#include "present/vulkan_present.h"
gnSyncExtFunctions loadVulkanSyncFunctions() {
return (gnSyncExtFunctions){
@@ -16,6 +17,7 @@ gnSyncExtFunctions loadVulkanSyncFunctions() {
._gnResetFence = resetFence,
._gnDestroyFence = destroyFence,
._gnSubmitSync = vulkanSubmitSync
._gnSubmitSync = vulkanSubmitSync,
._gnPresentSync = vulkanPresentSync
};
}