fix the last few vulkan warnings
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <commands/command_buffer/vulkan_command_buffer.h>
|
||||
#include <commands/commands/vulkan_commands.h>
|
||||
|
||||
gnCommandFunctions loadVulkanCommandFunctions() {
|
||||
gnCommandFunctions loadVulkanCommandFunctions(void) {
|
||||
return (gnCommandFunctions){
|
||||
._gnCommandPoolAllocateCommandBuffers = allocateCommandBuffers,
|
||||
._gnBeginCommandBuffer = beginCommandBuffer,
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#include <submit/vulkan_submit.h>
|
||||
#include <output_device/vulkan_output_devices.h>
|
||||
|
||||
gnDeviceFunctions loadVulkanDeviceFunctions() {
|
||||
gnDeviceFunctions loadVulkanDeviceFunctions(void) {
|
||||
return (gnDeviceFunctions){
|
||||
._gnCreatePresentationQueue = createPresentationQueue,
|
||||
._gnPresentationQueueGetImage = getVulkanPresentQueueImage,
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include <output_device/vulkan_output_devices.h>
|
||||
#include <vulkan_surface/vulkan_surface.h>
|
||||
|
||||
gryphnInstanceFunctionLayers loadVulkanAPILayer() {
|
||||
gryphnInstanceFunctionLayers loadVulkanAPILayer(void) {
|
||||
return (gryphnInstanceFunctionLayers) {
|
||||
.createInstance = vulkanCreateInstance,
|
||||
.destroyInstance = vulkanDestroyInstance,
|
||||
@@ -12,7 +12,7 @@ gryphnInstanceFunctionLayers loadVulkanAPILayer() {
|
||||
};
|
||||
}
|
||||
|
||||
gnInstanceFunctions loadVulkanInstanceFunctions() {
|
||||
gnInstanceFunctions loadVulkanInstanceFunctions(void) {
|
||||
return (gnInstanceFunctions){
|
||||
|
||||
._gnGetPhysicalDevices = getPhysicalDevices,
|
||||
|
@@ -7,12 +7,12 @@
|
||||
#include "core/gryphn_extensions.h"
|
||||
|
||||
typedef struct gryphnInstanceFunctionLayers gryphnInstanceFunctionLayers;
|
||||
gryphnInstanceFunctionLayers loadVulkanAPILayer();
|
||||
gryphnInstanceFunctionLayers loadVulkanAPILayer(void);
|
||||
|
||||
gnInstanceFunctions loadVulkanInstanceFunctions();
|
||||
gnDeviceFunctions loadVulkanDeviceFunctions();
|
||||
gnCommandFunctions loadVulkanCommandFunctions();
|
||||
gnSyncExtFunctions loadVulkanSyncFunctions();
|
||||
gnQueueExtFunctions loadVulkanQueueFunctions();
|
||||
gnInstanceFunctions loadVulkanInstanceFunctions(void);
|
||||
gnDeviceFunctions loadVulkanDeviceFunctions(void);
|
||||
gnCommandFunctions loadVulkanCommandFunctions(void);
|
||||
gnSyncExtFunctions loadVulkanSyncFunctions(void);
|
||||
gnQueueExtFunctions loadVulkanQueueFunctions(void);
|
||||
|
||||
gnBool vulkanIsExtensionSupported(gnExtension extension);
|
||||
|
@@ -3,7 +3,7 @@
|
||||
#include <submit/vulkan_submit.h>
|
||||
#include <present/vulkan_present.h>
|
||||
|
||||
gnQueueExtFunctions loadVulkanQueueFunctions() {
|
||||
gnQueueExtFunctions loadVulkanQueueFunctions(void) {
|
||||
return (gnQueueExtFunctions) {
|
||||
._gnGetPhysicalDeviceQueueProperties = vulkanPhysicalDeviceQueueProperties,
|
||||
._gnQueueSubmit = vulkanSubmitQueue,
|
||||
|
@@ -5,7 +5,7 @@
|
||||
#include "submit/vulkan_submit.h"
|
||||
#include "present/vulkan_present.h"
|
||||
|
||||
gnSyncExtFunctions loadVulkanSyncFunctions() {
|
||||
gnSyncExtFunctions loadVulkanSyncFunctions(void) {
|
||||
return (gnSyncExtFunctions){
|
||||
._gnPresentationQueueGetImageAsync = getPresentQueueImageAsync,
|
||||
|
||||
|
Reference in New Issue
Block a user