Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Final compilation fixes for VC++.
  • Loading branch information
codereader committed Mar 29, 2021
1 parent d16099e commit d5f0ac5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/render/CameraView.h
Expand Up @@ -3,6 +3,14 @@
#include "icameraview.h"
#include "math/Matrix4.h"

// Undef stupid global definitions from minwindef.h
#ifdef near
#undef near
#endif
#ifdef far
#undef far
#endif

namespace camera
{

Expand Down

0 comments on commit d5f0ac5

Please sign in to comment.