glesv2: Fix regression in gles version detection

Graphics / Cairo - Bryce Harrington [osg.samsung.com] - 11 September 2017 22:56 EDT

Revert the _cairo_gl_get_flavor() portion of the change from commit eb523200. This caused GLES to be enabled only if the hardware reported
version 2 exactly; if the hardware supported version 2 and 3 then no ES support would be enabled.

1af1861 glesv2: Fix regression in gles version detection
src/cairo-gl-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share