summaryrefslogtreecommitdiff
path: root/src/imgbuf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/imgbuf.cc')
-rw-r--r--src/imgbuf.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imgbuf.cc b/src/imgbuf.cc
index ee8f918a..f5883606 100644
--- a/src/imgbuf.cc
+++ b/src/imgbuf.cc
@@ -115,3 +115,11 @@ void a_Imgbuf_update(void *v_imgbuf, const uchar_t *buf, DilloImgType type,
((Imgbuf*)v_imgbuf)->copyRow(y, (byte *)newbuf);
}
+/*
+ * Reset for a new scan from a multiple-scan image.
+ */
+void a_Imgbuf_new_scan(void *v_imgbuf)
+{
+ ((Imgbuf*)v_imgbuf)->newScan();
+}
+