egl: resolve build issue with pre EGL 1.5 headers
commit64ca7f331038475f41917cba64682eb669493da5
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 20 Jul 2016 16:27:02 +0000 (20 17:27 +0100)
committerChad Versace <chadversary@chromium.org>
Tue, 11 Oct 2016 17:13:48 +0000 (11 10:13 -0700)
treeca988a054aeae906e1eafecb11a044edd3cc2d6b
parentcd38ab87009b84e587adc8e7dac4733b76af72cc
egl: resolve build issue with pre EGL 1.5 headers

In some cases (like building on Android) the headers might not have the
1.5 definitions, leading to a build failures like the one in github
issue #41.

Since the ABI is baked in stone, add a local define to resolve that.

Fixes: f8a485e7cc7 ("egl: Improve support for robust GLES contexts on EGL 1.5")
Issue: https://github.com/waffle-gl/waffle/issues/41
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/waffle/egl/wegl_context.c