]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/patch.h
Centralise compile checks
[xonotic/netradiant.git] / radiant / patch.h
index a1f1d272a20a682bb987337d12f8f481925d787b..96c9b76e081c7cab192a73f7911d59bba19e8123 100644 (file)
@@ -30,7 +30,7 @@
 /// The surface is recursively tesselated until the angle between each triangle
 /// edge is smaller than a specified tolerance.
 
-
+#include "globaldefs.h"
 #include "nameable.h"
 #include "ifilter.h"
 #include "imap.h"
@@ -317,7 +317,7 @@ void render( RenderStateFlags state ) const {
                }
        }
 
-#if defined( _DEBUG )
+#if GDEF_DEBUG
        RenderNormals();
 #endif
 }