finish new loader structure for vulkan
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
#include "present/gryphn_present.h"
|
||||
#include "sync/semaphore/vulkan_semaphore.h"
|
||||
#include "presentation_queue/vulkan_presentation_queue.h"
|
||||
#include "output_device/vulkan_output_devices.h"
|
||||
#include "vulkan_present.h"
|
||||
|
||||
gnReturnCode gnPresentFn(gnDevice device, gnPresentInfo info) {
|
||||
gnReturnCode present(gnDevice device, gnPresentInfo info) {
|
||||
VkSemaphore* waitSemaphores = malloc(sizeof(VkSemaphore) * info.waitCount);
|
||||
for (int i = 0; i < info.waitCount; i++) waitSemaphores[i] = info.waitSemaphores[i]->semaphore->semaphore;
|
||||
|
||||
|
||||
6
projects/apis/vulkan/src/present/vulkan_present.h
Normal file
6
projects/apis/vulkan/src/present/vulkan_present.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "present/gryphn_present.h"
|
||||
#include <sync/semaphore/vulkan_semaphore.h>
|
||||
#include <presentation_queue/vulkan_presentation_queue.h>
|
||||
#include <output_device/vulkan_output_devices.h>
|
||||
|
||||
gnReturnCode present(gnDevice device, gnPresentInfo info);
|
||||
Reference in New Issue
Block a user