[waffle] [PATCH] waffle: return accurate result from wegl_platform_init()

Emil Velikov emil.l.velikov at gmail.com
Fri Jan 23 08:37:15 PST 2015

On 23/01/15 01:43, Frank Henigman wrote:
> wegl_platform_init() now returns false if dlopen or dlsym fails.
> Signed-off-by: Frank Henigman <fjhenigman at google.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

> ---
> Without this, if for some reason libEGL isn't loaded, wflinfo will
> crash trying to call through a null pointer in the wegl_platform struct.
Nice catch Frank. As other failure paths differ from this one I've
missed it out - silly me.

Chad, I think we want this for the maint-1.5 branch.


More information about the waffle mailing list