16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 08:09:19 +02:00

reformat: parameters can be made pointer to const

This commit is contained in:
jerrrrycho
2026-07-04 07:14:02 +02:00
parent 220689a5e3
commit 96a099acdf
51 changed files with 304 additions and 304 deletions

View File

@@ -292,7 +292,7 @@ STBRP_DEF void stbrp_init_target(stbrp_context *context, const int width, const
}
// find minimum y position if it starts at x1
static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, const int x0, const int width, int *pwaste)
static int stbrp__skyline_find_min_y(const stbrp_context *c, const stbrp_node *first, const int x0, const int width, int *pwaste)
{
const stbrp_node *node = first;
const int x1 = x0 + width;