Browse Source

glew static

Kajetan Johannes Hammerle 2 years ago
parent
commit
cf5455cbfb
2 changed files with 3 additions and 1 deletions
  1. 2 1
      rendering/Window.h
  2. 1 0
      wrapper/GL.cpp

+ 2 - 1
rendering/Window.h

@@ -1,7 +1,8 @@
 #ifndef WINDOW_H
 #define WINDOW_H
 
-#define GLFW_INCLUDE_NONE
+#define GLEW_STATIC
+#include "GL/glew.h"
 #include "GLFW/glfw3.h"
 
 #include "input/Buttons.h"

+ 1 - 0
wrapper/GL.cpp

@@ -1,3 +1,4 @@
+#define GLEW_STATIC
 #include "GL/glew.h"
 #include <GL/glu.h>
 #include <type_traits>