Fixed many incompatible pointer warnings; add tcc specific debugging flags to makefile

This commit is contained in:
2022-12-14 19:01:42 +00:00
parent 60bf5ca7bc
commit 0b64d0872b
16 changed files with 57 additions and 59 deletions

View File

@@ -55,7 +55,7 @@ void draw_line(int x1, int y1, int x2, int y2)
x2, y2
};
draw_poly(&verts, 2);
draw_poly(verts, 2);
}
void draw_edge(float *points, int n)
@@ -98,7 +98,7 @@ void draw_rect(int x, int y, int w, int h)
x - hw, y + hh
};
draw_poly(&verts, 4);
draw_poly(verts, 4);
}
void draw_grid(int width, int span)