TothBenoit пре 10 месеци
родитељ
комит
6ce2b53f11
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      h3d/shader/CheckerboardDepth.hx

+ 1 - 1
h3d/shader/CheckerboardDepth.hx

@@ -22,7 +22,7 @@ class CheckerboardDepth extends h3d.shader.ScreenShader {
             #if js
 			if ( mod(pixels.x, 2) != mod(pixels.y, 2) )
             #else
-			if ( int(pixels.x) & 1 != int(pixels.y) & 1 )
+			if ( (int(pixels.x) & 1) != (int(pixels.y) & 1) )
             #end
 				pixelColor = max(s00, max(s01, max(s10, s11)));
 			else