Permalink
Browse files

Don't cut below 2

  • Loading branch information...
weihuoya committed Jul 5, 2018
1 parent 1d430ff commit d9d9b14e536407de8673359fc744998b14c022ef
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 d9d9b14

Please sign in to comment.