summaryrefslogtreecommitdiff
path: root/src/nanovg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nanovg.cpp')
-rw-r--r--src/nanovg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nanovg.cpp b/src/nanovg.cpp
index b7b426f..f1d1702 100644
--- a/src/nanovg.cpp
+++ b/src/nanovg.cpp
@@ -177,7 +177,7 @@ static real32 * NVG_ButtCap(nvg_point *Point, real32 *StrokeData,
// NOTE(fox): We only have to care about winding if we want to do HW accelerated
// shape subtraction with the stencil buffer (I think).
static uint32
-NVG_FlattenPath(memory *Memory, shape_layer *Shape, nvg_point *PointData,
+NVG_FlattenPath(memory *Memory, shape_layer *Shape, shape_options ShapeOpt, nvg_point *PointData,
project_state *State, layer_transforms T, int Width, int Height,
int CompWidth, int CompHeight, bool32 Interact, v2 *Min, v2 *Max)
{
@@ -185,7 +185,7 @@ NVG_FlattenPath(memory *Memory, shape_layer *Shape, nvg_point *PointData,
bezier_point *BezierPointData = (bezier_point *)Memory_PushScratch(Memory, sizeof(bezier_point) * 128);
uint32 BezierCount = Bezier_Shape_Sort(Memory, Shape, BezierPointData,
State, T, Width, Height,
- CompWidth, CompHeight, Interact);
+ CompWidth, CompHeight, ShapeOpt.Roundness, Interact);
for (int i = 0; i < BezierCount; i++) {
bezier_point *Point = &BezierPointData[i];
if (i == 0 || Point->Type == interpolation_type_linear) {