From 9950cf35af87f85fcb749263a982c0a1ff071feb Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 20 May 2022 18:00:20 +0300
Subject: [PATCH] nanosvgrast.h: mark nsvg__cmpEdge() as SDLCALL due to recent
SDL changes
---
nanosvgrast.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nanosvgrast.h b/nanosvgrast.h
index 28d9361..b45430a 100644
--- a/nanosvgrast.h
+++ b/nanosvgrast.h
@@ -850,7 +850,8 @@ static void nsvg__flattenShapeStroke(NSVGrasterizer* r, NSVGshape* shape, float
}
}
-static int nsvg__cmpEdge(const void *p, const void *q)
+static int SDLCALL
+nsvg__cmpEdge(const void *p, const void *q)
{
const NSVGedge* a = (const NSVGedge*)p;
const NSVGedge* b = (const NSVGedge*)q;