separate glfw and glew

This commit is contained in:
2025-03-17 10:44:48 -05:00
parent 0be8e597b9
commit 496295e75e
3 changed files with 4 additions and 8 deletions

View File

@@ -1,5 +1,9 @@
#include "Archimedes.h" #include "Archimedes.h"
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
class Window { class Window {
public: public:

View File

@@ -2,11 +2,6 @@
#include "App.h" #include "App.h"
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
if(!glfwInit()) {
std::cout << "Still no glfw!\n";
std::abort();
}
App app(argc, argv); App app(argc, argv);
app.run(); app.run();
} }

View File

@@ -6,9 +6,6 @@
#include <list> #include <list>
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
//#include <chrono> //#include <chrono>
//#include <thread> //#include <thread>