rename to projects (DOES NOT COMPILE)
This commit is contained in:
6
projects/core/src/present/gryphn_present.c
Normal file
6
projects/core/src/present/gryphn_present.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "gryphn_platform_functions.h"
|
||||
#include "gryphn_present.h"
|
||||
|
||||
gnReturnCode gnPresent(gnOutputDeviceHandle device, gnPresentInfo info) {
|
||||
return device->deviceFunctions->_gnPresent(device, info);
|
||||
}
|
15
projects/core/src/present/gryphn_present.h
Normal file
15
projects/core/src/present/gryphn_present.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "utils/gryphn_error_code.h"
|
||||
#include "stdint.h"
|
||||
#include "gryphn_handles.h"
|
||||
|
||||
typedef struct gnPresentInfo_t {
|
||||
uint32_t waitCount;
|
||||
gnSemaphoreHandle* waitSemaphores;
|
||||
uint32_t presentationQueueCount;
|
||||
gnPresentationQueueHandle* presentationQueues;
|
||||
uint32_t* imageIndices;
|
||||
uint32_t queueIndex;
|
||||
} gnPresentInfo;
|
||||
|
||||
gnReturnCode gnPresent(gnOutputDeviceHandle device, gnPresentInfo info);
|
Reference in New Issue
Block a user