Permalink
Browse files

[spline/bezier]minor fix

  • Loading branch information...
xebra committed Oct 2, 2018
1 parent eca9386 commit 46d30d02cfa2a6c0d3f9ceadc1a0b1c8783796fa
Showing with 2 additions and 2 deletions.
  1. +2 −2 GPU/Common/SplineCommon.cpp
@@ -496,7 +496,7 @@ void DrawEngineCommon::SubmitSpline(const void *control_points, const void *indi
if (count_u < 4 || count_v < 4)
return;
SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE);
SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE / 2);
int num_points = count_u * count_v;
u16 index_lower_bound = 0;
@@ -585,7 +585,7 @@ void DrawEngineCommon::SubmitBezier(const void *control_points, const void *indi
if (count_u < 4 || count_v < 4)
return;
SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE);
SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE / 2);
int num_points = count_u * count_v;
u16 index_lower_bound = 0;

0 comments on commit 46d30d0

Please sign in to comment.