libobs, libobs-opengl: Consistent near/far undef
parent
4681e10fdf
commit
3c45ae2e9d
|
@ -20,8 +20,12 @@
|
|||
#include "gl-subsystem.h"
|
||||
|
||||
/* Goofy Windows.h macros need to be removed */
|
||||
#undef far
|
||||
#ifdef near
|
||||
#undef near
|
||||
#endif
|
||||
#ifdef far
|
||||
#undef far
|
||||
#endif
|
||||
|
||||
/* #define SHOW_ALL_GL_MESSAGES */
|
||||
|
||||
|
|
|
@ -28,8 +28,10 @@
|
|||
#include "effect-parser.h"
|
||||
#include "effect.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef near
|
||||
#undef near
|
||||
#endif
|
||||
#ifdef far
|
||||
#undef far
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue