From 8073b0ecd4602a8f14e7877738f8c793e82455bc Mon Sep 17 00:00:00 2001 From: Zachary Lund Date: Mon, 6 Jan 2014 17:51:45 -0600 Subject: [PATCH] Fixed APIENTRY quirk with GLEW --- libobs-opengl/gl-subsystem.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libobs-opengl/gl-subsystem.h b/libobs-opengl/gl-subsystem.h index bbb409adc..67492eebf 100644 --- a/libobs-opengl/gl-subsystem.h +++ b/libobs-opengl/gl-subsystem.h @@ -20,11 +20,17 @@ #include #include #include + #ifdef GLEW_STATIC #include "glew/include/GL/glew.h" #else #include #endif + +#ifdef _WIN32 +#include +#endif + #include "gl-helpers.h" #include "gl-exports.h"