Skip to content
Snippets Groups Projects
Verified Commit 304afe54 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#15] First trial to fix VS compiler warnings

parent 97cfabc3
No related branches found
No related tags found
1 merge request!10Small little additions to the collection
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
#include "Context.hpp"
#include "CoreManager.hpp"
#include <iostream>
namespace vkcv {
Context::Context(vk::Instance instance, vk::PhysicalDevice physicalDevice, vk::Device device)
......
#pragma once
#include <vulkan/vulkan.hpp>
#include <GLFW/glfw3.h>
#include <iostream>
namespace vkcv {
......@@ -33,7 +30,7 @@ namespace vkcv {
Context& operator=(const Context &other) = delete;
Context& operator=(Context &&other) = default;
static Context create(const char* applicationName, uint32_t applicationVersion, uint32_t queueCount = 1, const std::vector<vk::QueueFlagBits> queueFlags = {}, std::vector<const char*> instanceExtensions = {}, std::vector<const char*> deviceExtensions = {});
static Context create(const char* applicationName, uint32_t applicationVersion, uint32_t queueCount = 1, std::vector<vk::QueueFlagBits> queueFlags = {}, std::vector<const char*> instanceExtensions = {}, std::vector<const char*> deviceExtensions = {});
static bool checkSupport(std::vector<const char*> &supported, std::vector<const char*> &check);
static std::vector<const char*> getRequiredExtensions();
static vk::PhysicalDevice pickPhysicalDevice(vk::Instance& instance);
......
#pragma once
#include <vulkan/vulkan.hpp>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
namespace vkcv {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment