GHOST/Wayland: fix building when GHOST_OPENGL_ALPHA is defined

This commit is contained in:
Campbell Barton 2022-11-14 12:01:26 +11:00
parent d7971972fa
commit 0190b104c8
Notes: blender-bot 2023-02-14 10:14:07 +01:00
Referenced by issue #101394, Importing file after making a new collection active hits an assert (View Layer Object Base out of sync)
1 changed files with 2 additions and 2 deletions

View File

@ -953,9 +953,9 @@ void GHOST_WindowWayland::setOpaque() const
struct wl_region *region;
/* Make the window opaque. */
region = wl_compositor_create_region(system_->compositor());
region = wl_compositor_create_region(system_->wl_compositor());
wl_region_add(region, 0, 0, UNPACK2(window_->size));
wl_surface_set_opaque_region(window_->surface, region);
wl_surface_set_opaque_region(window_->wl_surface, region);
wl_region_destroy(region);
}
#endif