Skip to content
Snippets Groups Projects
Commit 644f7410 authored by Sebastian Gaida's avatar Sebastian Gaida
Browse files

[#7] change glfw calls to CoreManager calls

parent c1de6145
No related branches found
No related tags found
1 merge request!2Resolve "Context Functionality"
#include "Context.hpp"
#include "CoreManager.hpp"
namespace vkcv {
......@@ -10,10 +10,11 @@ namespace vkcv {
Context::~Context() {
m_device.destroy();
m_instance.destroy();
vkcv::terminateGLFW();
}
Context Context::create(const char* applicationName, uint32_t applicationVersion, uint32_t queueCount, std::vector<vk::QueueFlagBits> queueFlags, std::vector<const char*> instanceExtensions, std::vector<const char*> deviceExtensions) {
glfwInit();
vkcv::initGLFW();
// check for layer support
uint32_t layerCount = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment