Browse Source

allow non-static glew include path

Palana 12 years ago
parent
commit
26397c7782
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libobs-opengl/gl-subsystem.h

+ 4 - 0
libobs-opengl/gl-subsystem.h

@@ -20,7 +20,11 @@
 #include "util/darray.h"
 #include "graphics/graphics.h"
 #include "graphics/matrix4.h"
+#ifdef GLEW_STATIC
 #include "glew/include/GL/glew.h"
+#else
+#include <GL/glew.h>
+#endif
 #include "gl-helpers.h"
 #include "gl-exports.h"