gallium-egl: Fix compile errors introduced in de315f76a
The commit changed API in a helper library shared by both egl_dri2 and the gallium egl state tracker, but only egl_dri2 was updated to use the new interface. Tested-by: Giulio Camuffo <giuliocamuffo@gmail.com>
This commit is contained in:
parent
995bbc2256
commit
939789e48d
|
@ -13,7 +13,7 @@
|
|||
#include "native_wayland_drm_bufmgr_helper.h"
|
||||
|
||||
void
|
||||
egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name,
|
||||
egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name, int fd,
|
||||
struct wl_drm_buffer *buffer)
|
||||
{
|
||||
struct native_display *ndpy = user_data;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "wayland-drm.h"
|
||||
|
||||
void
|
||||
egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name,
|
||||
egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name, int fd,
|
||||
struct wl_drm_buffer *buffer);
|
||||
|
||||
void
|
||||
|
|
|
@ -213,7 +213,7 @@ drm_display_bind_wayland_display(struct native_display *ndpy,
|
|||
|
||||
drmdpy->wl_server_drm = wayland_drm_init(wl_dpy,
|
||||
drmdpy->device_name,
|
||||
&wl_drm_callbacks, ndpy);
|
||||
&wl_drm_callbacks, ndpy, 0);
|
||||
|
||||
if (!drmdpy->wl_server_drm)
|
||||
return FALSE;
|
||||
|
|
|
@ -271,7 +271,7 @@ wayland_drm_display_bind_wayland_display(struct native_display *ndpy,
|
|||
|
||||
drmdpy->wl_server_drm =
|
||||
wayland_drm_init(wl_dpy, drmdpy->device_name,
|
||||
&wl_drm_callbacks, ndpy);
|
||||
&wl_drm_callbacks, ndpy, 0);
|
||||
|
||||
if (!drmdpy->wl_server_drm)
|
||||
return FALSE;
|
||||
|
|
|
@ -861,7 +861,7 @@ dri2_display_bind_wayland_display(struct native_display *ndpy,
|
|||
|
||||
dri2dpy->wl_server_drm = wayland_drm_init(wl_dpy,
|
||||
x11_screen_get_device_name(dri2dpy->xscr),
|
||||
&wl_drm_callbacks, ndpy);
|
||||
&wl_drm_callbacks, ndpy, 0);
|
||||
|
||||
if (!dri2dpy->wl_server_drm)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue