Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
c->clear_color[i] = color[i];
}
+void
+vl_compositor_get_clear_color(struct vl_compositor *c, float color[4])
+{
+ unsigned i;
+
+ assert(c);
+ assert(color);
+
+ for (i = 0; i < 4; ++i)
+ color[i] = c->clear_color[i];
+}
+
void
vl_compositor_clear_layers(struct vl_compositor *c)
{
void
vl_compositor_set_clear_color(struct vl_compositor *compositor, float color[4]);
+/**
+ * get the clear color
+ */
+void
+vl_compositor_get_clear_color(struct vl_compositor *compositor, float color[4]);
+
/**
* set overlay samplers
*/