mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Revert "background: Make the final monitor texture RGB instead of RGBA"
This reverts commit 93e938e22f
.
The alpha channel is required for the background-color to show where the
background-image is not visible.
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1911
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3459>
This commit is contained in:
parent
14d84707fc
commit
5dc92aa134
@ -823,7 +823,7 @@ meta_background_get_texture (MetaBackground *self,
|
||||
|
||||
monitor->texture = meta_create_texture (texture_width,
|
||||
texture_height,
|
||||
COGL_TEXTURE_COMPONENTS_RGB,
|
||||
COGL_TEXTURE_COMPONENTS_RGBA,
|
||||
META_TEXTURE_FLAGS_NONE);
|
||||
offscreen = cogl_offscreen_new_with_texture (monitor->texture);
|
||||
monitor->fbo = COGL_FRAMEBUFFER (offscreen);
|
||||
|
Loading…
Reference in New Issue
Block a user