Ver código fonte

Fixed Windows goofy macros

Zachary Lund 12 anos atrás
pai
commit
001f0b10a4
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      libobs-opengl/gl-subsystem.c

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

@@ -19,6 +19,10 @@
 #include <graphics/matrix3.h>
 #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[] = {