[Bf-blender-cvs] [0190b104c85] blender-v3.4-release: GHOST/Wayland: fix building when GHOST_OPENGL_ALPHA is defined

Campbell Barton noreply at git.blender.org
Mon Nov 14 02:02:14 CET 2022


Commit: 0190b104c85c0c9fb4ba5c674e4dc51c07336a46
Author: Campbell Barton
Date:   Mon Nov 14 12:01:26 2022 +1100
Branches: blender-v3.4-release
https://developer.blender.org/rB0190b104c85c0c9fb4ba5c674e4dc51c07336a46

GHOST/Wayland: fix building when GHOST_OPENGL_ALPHA is defined

===================================================================

M	intern/ghost/intern/GHOST_WindowWayland.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index ef53f6a02e6..7e9697d6a69 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -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



More information about the Bf-blender-cvs mailing list