[PATCH weston] compositor-drm: cast surface to EGLNativeWindowType
Pekka Paalanen
ppaalanen at gmail.com
Wed Aug 19 06:19:59 PDT 2015
On Mon, 17 Aug 2015 18:46:43 -0300
Dawid Gajownik <gajownik at gmail.com> wrote:
> gl_renderer_output_create expects `window_for_legacy' variable to be of
> type EGLNativeWindowType, not EGLNativeDisplayType. This variable is
> used later in eglCreateWindowSurface().
>
> Signed-off-by: Dawid Gajownik <gajownik at gmail.com>
> ---
> src/compositor-drm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor-drm.c b/src/compositor-drm.c
> index 26f0012..c647fcd 100644
> --- a/src/compositor-drm.c
> +++ b/src/compositor-drm.c
> @@ -1828,7 +1828,7 @@ drm_output_init_egl(struct drm_output *output, struct drm_backend *b)
> if (format[1])
> n_formats = 2;
> if (gl_renderer->output_create(&output->base,
> - (EGLNativeDisplayType)output->surface,
> + (EGLNativeWindowType)output->surface,
> output->surface,
> gl_renderer->opaque_attribs,
> format,
Heh, oops. Pushed:
8358305..2b25450 master -> master
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150819/431d429a/attachment-0001.sig>
More information about the wayland-devel
mailing list