help
This commit is contained in:
@@ -6,8 +6,9 @@ namespace Archimedes {
|
||||
WindowGLFW::WindowGLFW() {
|
||||
|
||||
glfwSetErrorCallback([](int e, const char* m){
|
||||
std::cout << "GLFW Error: " << m << std::endl;
|
||||
});
|
||||
std::cout << "GLFW Error: " << m << std::endl;
|
||||
});
|
||||
|
||||
if(!glfwInit()) {
|
||||
std::cout << "glfwInit failed!\n";
|
||||
std::abort();
|
||||
@@ -18,7 +19,7 @@ namespace Archimedes {
|
||||
glfwTerminate();
|
||||
std::abort();
|
||||
}
|
||||
|
||||
std::cout << "Window Created!\n";
|
||||
glfwMakeContextCurrent(w);
|
||||
glfwSwapInterval(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user