Refactor CMake

This commit is contained in:
2022-10-01 22:21:57 +02:00
parent 9b6f9bee33
commit baf9b17a14
38 changed files with 5308 additions and 52061 deletions

View File

@@ -4,6 +4,7 @@
#include "definitions/window.h"
#include "util/Log.h"
#include <glad/gl.h>
#include <GLFW/glfw3.h>
Window::Window()
@@ -44,7 +45,7 @@ Window::Window()
glfwMakeContextCurrent(m_glfw_window.get());
// Initialize GLAD
if (gladLoadGLLoader((GLADloadproc)glfwGetProcAddress) == 0) {
if (gladLoadGL(glfwGetProcAddress) == 0) {
Log::logger().critical("Failed to initialize GLAD");
std::terminate();
}