Permalink
Browse files

Merge pull request #11238 from weihuoya/bezier-fx

Bezier, cut below 2 and got 0
  • Loading branch information...
hrydgard committed Jul 5, 2018
2 parents 1d430ff + d9d9b14 commit 1f60c85cb61342e6eafd102d9c680e0d247377aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 GPU/Common/SplineCommon.cpp
@@ -841,7 +841,7 @@ void TessellateBezierPatch(u8 *&dest, u16 *&indices, int &count, int tess_u, int
_BezierPatchLowQuality(dest, indices, count, tess_u, tess_v, patch, origVertType);
break;
case MEDIUM_QUALITY:
_BezierPatchHighQuality(dest, indices, count, tess_u / 2, tess_v / 2, patch, origVertType);
_BezierPatchHighQuality(dest, indices, count, std::max(tess_u / 2, 1), std::max(tess_v / 2, 1), patch, origVertType);
break;
case HIGH_QUALITY:
_BezierPatchHighQuality(dest, indices, count, tess_u, tess_v, patch, origVertType);

0 comments on commit 1f60c85

Please sign in to comment.