diff --git a/LearnOpenGL/Source.cpp b/LearnOpenGL/Source.cpp index 0fcd70e857c80cadee9f9d0a2fffccbbc9cad2d9..33add30ff178569398b05967c17b92d2b1e0beeb 100644 --- a/LearnOpenGL/Source.cpp +++ b/LearnOpenGL/Source.cpp @@ -149,7 +149,6 @@ void scroll_callback(GLFWwindow* window, double xoffset, double yoffset) camera.ProcessMouseScroll(yoffset); } - void Scene1(GLFWwindow *window) { auto cam_programID = build_program("Camera"); @@ -360,7 +359,6 @@ void Scene2(GLFWwindow *window) table_top->set_material(cubeMaterial); } - while (!glfwWindowShouldClose(window)) { double currentFrame = glfwGetTime(); @@ -454,7 +452,6 @@ void Scene3(GLFWwindow *window) wall_2->set_material(wallMaterial); } - while (!glfwWindowShouldClose(window)) { double currentFrame = glfwGetTime();