From 46d30d02cfa2a6c0d3f9ceadc1a0b1c8783796fa Mon Sep 17 00:00:00 2001 From: xebra Date: Tue, 2 Oct 2018 21:13:40 +0900 Subject: [PATCH] [spline/bezier]minor fix --- GPU/Common/SplineCommon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/Common/SplineCommon.cpp b/GPU/Common/SplineCommon.cpp index a1f96fed32..77427b99ee 100644 --- a/GPU/Common/SplineCommon.cpp +++ b/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;