shithub: dumb

Download patch

ref: 4fcf162e992167d875978ce829f4d8347b1297f4
parent: dfdf86be5e69122bb1ed4aa34cb6ecc6a7158672
author: Chris Moeller <kode54@gmail.com>
date: Tue Mar 25 16:04:09 EDT 2014

Forgot to re-add missing function

--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -5350,6 +5350,13 @@
 }
 
 
+void dumb_it_set_ramp_style(DUMB_IT_SIGRENDERER * sigrenderer, int ramp_style) {
+	if (sigrenderer && ramp_style >= 0 && ramp_style <= 2) {
+		sigrenderer->ramp_style = ramp_style;
+	}
+}
+
+
 void dumb_it_set_loop_callback(DUMB_IT_SIGRENDERER *sigrenderer, int (*callback)(void *data), void *data)
 {
 	if (sigrenderer) {