[Mesa-dev] [PATCH 7/7] wayland-egl: rework and simplify wl_egl_window initialization

Daniel Stone daniel at fooishbar.org
Fri Sep 29 13:48:58 UTC 2017


On 29 September 2017 at 13:14, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Use calloc instead of malloc + explicitly zeroing the different fields.
> We need special handling for the version field which if of type
> const intptr_t.
>
> As we're here document why keeping the constness is a good idea.
>
> The wl_egl_window_resize() call is replaced with an explicit set of the
> width/height.

Thanks for doing this; series is:
Reviewed-by: Daniel Stone <daniels at collabora.com>

Cheers,
Daniel


More information about the mesa-dev mailing list