[PATCH 3/7] gl-renderer: Implement & use check_extension

Daniel Stone daniel at fooishbar.org
Tue Mar 22 08:42:41 UTC 2016

Hi Miguel,

On 21 March 2016 at 16:37, Miguel A. Vico <mvicomoya at nvidia.com> wrote:
> Using strstr(3) for checking for extensions is an error-prone mechanism
> as extension names can be prefixes of other extension names (see
> https://www.opengl.org/registry/doc/rules.html#using).
> This change implements the check_extension() function to properly check
> for an extension and replaces all usages of strstr(3).

Looks good to me, thanks for this!

Reviewed-by: Daniel Stone <daniels at collabora.com>


More information about the wayland-devel mailing list