]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/patch.cpp
radiant: add optional pakpath support
[xonotic/netradiant.git] / radiant / patch.cpp
index dca55b79b2176b13bf33f80df1151fda5e82dad3..0d80278d70f2ac62ec2a5c1e86b4d20a8359fa45 100644 (file)
@@ -1545,14 +1545,14 @@ void RenderablePatchSolid::RenderNormals() const {
        glEnd();
 }
 
-#define DEGEN_0a  0x01
-#define DEGEN_1a  0x02
-#define DEGEN_2a  0x04
-#define DEGEN_0b  0x08
-#define DEGEN_1b  0x10
-#define DEGEN_2b  0x20
-#define SPLIT     0x40
-#define AVERAGE   0x80
+const int DEGEN_0a  = 0x01;
+const int DEGEN_1a  = 0x02;
+const int DEGEN_2a  = 0x04;
+const int DEGEN_0b  = 0x08;
+const int DEGEN_1b  = 0x10;
+const int DEGEN_2b  = 0x20;
+const int SPLIT     = 0x40;
+const int AVERAGE   = 0x80;
 
 
 unsigned int subarray_get_degen( PatchControlIter subarray, std::size_t strideU, std::size_t strideV ){