diff --git a/src/main.cpp b/src/main.cpp index a7bb1c7..cf0a093 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,8 +13,10 @@ std::int32_t main(std::int32_t argc, gsl::zstring* argv) { veng::Graphics graphics(&window); + glfwMakeContextCurrent(window.GetHandle()); + while (!window.ShouldClose()) { - glClear(GL_COLOR_BUFFER_BIT); + //glClear(GL_COLOR_BUFFER_BIT); glfwSwapBuffers(window.GetHandle()); glfwPollEvents(); }