forked from bartvdbraak/blender
fix warnings/errors in recent raster commit.
This commit is contained in:
parent
0b1d5d42cf
commit
4563d1103d
@ -46,7 +46,7 @@
|
|||||||
* just the poly. Since the DEM code could end up being coupled with this, we'll keep it separate
|
* just the poly. Since the DEM code could end up being coupled with this, we'll keep it separate
|
||||||
* for now.
|
* for now.
|
||||||
*/
|
*/
|
||||||
static void preprocess_all_edges(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts, struct e_status *open_edge) {
|
void preprocess_all_edges(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts, struct e_status *open_edge) {
|
||||||
int i;
|
int i;
|
||||||
int xbeg;
|
int xbeg;
|
||||||
int ybeg;
|
int ybeg;
|
||||||
|
@ -84,7 +84,7 @@ struct r_fill_context {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void preprocess_all_edges(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts, struct e_status *open_edge);
|
void preprocess_all_edges(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts, struct e_status *open_edge);
|
||||||
int PLX_raskterize(float (*base_verts)[2], int num_base_verts,
|
int PLX_raskterize(float (*base_verts)[2], int num_base_verts,
|
||||||
float *buf, int buf_x, int buf_y, int do_mask_AA);
|
float *buf, int buf_x, int buf_y, int do_mask_AA);
|
||||||
int PLX_raskterize_feather(float (*base_verts)[2], int num_base_verts,
|
int PLX_raskterize_feather(float (*base_verts)[2], int num_base_verts,
|
||||||
|
@ -266,7 +266,7 @@ static int rast_scan_init(struct r_fill_context *ctx, struct poly_vert *verts, i
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void init_base_data(float(*base_verts)[2], int num_base_verts,
|
/* static */ int init_base_data(float(*base_verts)[2], int num_base_verts,
|
||||||
float *buf, int buf_x, int buf_y) {
|
float *buf, int buf_x, int buf_y) {
|
||||||
int i; /* i: Loop counter. */
|
int i; /* i: Loop counter. */
|
||||||
struct poly_vert *ply; /* ply: Pointer to a list of integer buffer-space vertex coordinates. */
|
struct poly_vert *ply; /* ply: Pointer to a list of integer buffer-space vertex coordinates. */
|
||||||
|
Loading…
Reference in New Issue
Block a user