Remove incorrect commented-out shader code

This commit is contained in:
Patrick Walton 2017-11-21 15:54:18 -08:00
parent 7bd3a48110
commit 6e70b983c3
1 changed files with 0 additions and 1 deletions

View File

@ -231,7 +231,6 @@ vec4 clipLineToPixelRow(vec2 p0, vec2 dP, float pixelCenterY, out float outPixel
outPixelTop = pixelRowBounds.y;
vec2 qY = pixelRowBounds - p0.yy;
vec2 tY = clamp((slopeIsNegative(dP) ? qY.yx : qY.xy) / dP.yy, 0.0, 1.0);
//vec2 tY = clamp(vec2(min(qY.x, qY.y), max(qY.x, qY.y)) / dP.yy, 0.0, 1.0);
return vec4(p0 + dP * tY.x, dP * (tY.y - tY.x));
}