mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
vmware/vmwgfx: Fix xwayland build on newer XA versions
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
This commit is contained in:
@@ -62,7 +62,7 @@ vmwgfx_create_window_buffer(struct xwl_window *xwl_window,
|
||||
* surface.
|
||||
*/
|
||||
vpix->hw_is_hosted = TRUE;
|
||||
if (xa_surface_handle(vpix->hw, &name, &pitch) != XA_ERR_NONE)
|
||||
if (_xa_surface_handle(vpix->hw, &name, &pitch) != XA_ERR_NONE)
|
||||
return BadDrawable;
|
||||
|
||||
return xwl_create_window_buffer_drm(xwl_window, pixmap, name);
|
||||
|
||||
Reference in New Issue
Block a user