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

[#8] remove CoreManager glfw calls

parent 77796c3c
No related branches found
No related tags found
1 merge request!9Resolve "Window creation"
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
......@@ -2,11 +2,9 @@
#include <iostream>
#include <vkcv/Context.hpp>
#include <vkcv/Window.hpp>
#include <vkcv/CoreManager.hpp>
int main(int argc, const char** argv) {
const char* applicationName = "First Triangle";
vkcv::initGLFW();
vkcv::Window window = vkcv::Window::create(
applicationName,
800,
......@@ -36,6 +34,5 @@ int main(int argc, const char** argv) {
while (window.isWindowOpen()) {
window.pollEvents();
}
vkcv::terminateGLFW();
return 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