浏览代码

Fixed APIENTRY quirk with GLEW

Zachary Lund 11 年之前
父节点
当前提交
8073b0ecd4
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      libobs-opengl/gl-subsystem.h

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

@@ -20,11 +20,17 @@
 #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
+
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
 #include "gl-helpers.h"
 #include "gl-exports.h"