rootston: Add alpha channel to views

This commit is contained in:
Guido Günther 2018-02-23 11:30:55 +01:00
parent d08792bfff
commit e2ea1ebe48
3 changed files with 10 additions and 1 deletions

View file

@ -25,6 +25,10 @@
struct roots_view *view_create() {
struct roots_view *view = calloc(1, sizeof(struct roots_view));
if (!view) {
return NULL;
}
view->alpha = 1.0f;
return view;
}