Skip to content

Commit

Permalink
[spline/bezier]minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xebra committed Oct 2, 2018
1 parent 2bde816 commit 9e0a5ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GPU/Common/SplineCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9e0a5ad

Please sign in to comment.