summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/canvas.h')
-rw-r--r--libdimension/dimension/canvas.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdimension/dimension/canvas.h b/libdimension/dimension/canvas.h
index 0d37acf..62b5b75 100644
--- a/libdimension/dimension/canvas.h
+++ b/libdimension/dimension/canvas.h
@@ -31,7 +31,6 @@ typedef struct {
/* An array of dmnsn_canvas_optimizer's */
dmnsn_array *optimizers;
- int too_late; /* Is it too late to add optimizers? */
/*
* Stored in first-quadrant representation (origin is bottom-left). The pixel
@@ -63,8 +62,8 @@ dmnsn_canvas *dmnsn_new_canvas(unsigned int x, unsigned int y);
void dmnsn_delete_canvas(dmnsn_canvas *canvas);
/* Set a canvas optimizer */
-int dmnsn_optimize_canvas(dmnsn_canvas *canvas,
- dmnsn_canvas_optimizer optimizer);
+void dmnsn_optimize_canvas(dmnsn_canvas *canvas,
+ dmnsn_canvas_optimizer optimizer);
/* Pixel accessors */