]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix "Cully McCullface" bug found by terencehill.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Apr 2018 00:32:02 +0000 (00:32 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Apr 2018 00:32:02 +0000 (00:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12361 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.h

index 98f114f07279296da7038e06b28dc5b1546c9d90..fb16732118d4c7ca1d18076ebdcf4bc579022a0a 100644 (file)
@@ -104,7 +104,7 @@ mplane_t;
 // render using vertex alpha (q3bsp) as texture blend parameter between foreground (normal) skinframe and background skinframe
 #define MATERIALFLAG_VERTEXTEXTUREBLEND 0x00008000
 // disables GL_CULL_FACE on this texture (making it double sided)
-#define MATERIALFLAG_NOCULLFACE 0x000100000
+#define MATERIALFLAG_NOCULLFACE 0x00010000
 // render with a very short depth range (like 10% of normal), this causes entities to appear infront of most of the scene
 #define MATERIALFLAG_SHORTDEPTHRANGE 0x00020000
 // render water, comprising refraction and reflection (note: this is always opaque, the shader does the alpha effect)