diff --git a/libobs-opengl/gl-subsystem.c b/libobs-opengl/gl-subsystem.c index 390455b17..08d639bd2 100644 --- a/libobs-opengl/gl-subsystem.c +++ b/libobs-opengl/gl-subsystem.c @@ -19,6 +19,10 @@ #include #include "gl-subsystem.h" +/* Goofy Windows.h macros need to be removed */ +#undef far +#undef near + #ifdef _DEBUG /* Tables for OpenGL debug */ static const char* debug_source_table[] = {