aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index 931ac691..867eb0a4 100644
--- a/include/util.h
+++ b/include/util.h
@@ -17,6 +17,8 @@ int wrap(int i, int max);
*/
bool parse_color(const char *color, uint32_t *result);
+void color_to_rgba(float dest[static 4], uint32_t color);
+
/**
* Given a string that represents a boolean, return the boolean value. This
* function also takes in the current boolean value to support toggling. If