From 8fc5a8dfad5c55c1415929bbfd596d2f80084af6 Mon Sep 17 00:00:00 2001 From: kb1000 Date: Mon, 3 Jun 2024 23:24:25 +0200 Subject: [PATCH] #undef near and far --- source/game/render/gl_driver.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/game/render/gl_driver.cpp b/source/game/render/gl_driver.cpp index fd005370..ef9a1591 100644 --- a/source/game/render/gl_driver.cpp +++ b/source/game/render/gl_driver.cpp @@ -21,6 +21,9 @@ # define WIN32_LEAN_AND_MEAN // defines APIENTRY, GL/gl.h includes it but Glad doesn't # include +// no my friend it isn't 1990 +# undef near +# undef far #endif #if defined(__APPLE__) && defined(__MACH__) # include