mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
rootston: Add alpha channel to views
This commit is contained in:
parent
d08792bfff
commit
e2ea1ebe48
3 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue