diff --git a/modules/Window/src/WindowImpl/GLFW/windowGLFW.h b/modules/Window/src/WindowImpl/GLFW/windowGLFW.h index cbd4885..ef60d5c 100644 --- a/modules/Window/src/WindowImpl/GLFW/windowGLFW.h +++ b/modules/Window/src/WindowImpl/GLFW/windowGLFW.h @@ -1,5 +1,9 @@ #include "Archimedes.h" +#define GLEW_STATIC +#include +#include + class Window { public: diff --git a/src/main.cpp b/src/main.cpp index f5f311f..307cef6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,11 +2,6 @@ #include "App.h" int main(int argc, char* argv[]) { - - if(!glfwInit()) { - std::cout << "Still no glfw!\n"; - std::abort(); - } App app(argc, argv); app.run(); } diff --git a/src/pch.hpp b/src/pch.hpp index 0232c88..070d3bb 100644 --- a/src/pch.hpp +++ b/src/pch.hpp @@ -6,9 +6,6 @@ #include -#define GLEW_STATIC -#include -#include //#include //#include