From 001f0b10a4395a79111a79cc65dd3db4486e88af Mon Sep 17 00:00:00 2001 From: Zachary Lund Date: Sat, 25 Jan 2014 19:35:09 -0600 Subject: [PATCH] Fixed Windows goofy macros --- libobs-opengl/gl-subsystem.c | 4 ++++ 1 file changed, 4 insertions(+) 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[] = {