Skip to content

Commit

Permalink
#undef near and far
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-1000 committed Jun 3, 2024
1 parent 062c367 commit 8fc5a8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/game/render/gl_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
# define WIN32_LEAN_AND_MEAN
// defines APIENTRY, GL/gl.h includes it but Glad doesn't
# include <windows.h>
// no my friend it isn't 1990
# undef near
# undef far
#endif
#if defined(__APPLE__) && defined(__MACH__)
# include <OpenGL/glu.h>
Expand Down

0 comments on commit 8fc5a8d

Please sign in to comment.