mesa: Update _mesa_has_geometry_shaders
authorMarta Lofstedt <marta.lofstedt@intel.com>
Thu, 21 Jan 2016 15:17:32 +0000 (16:17 +0100)
committerMarta Lofstedt <marta.lofstedt@linux.intel.com>
Fri, 22 Jan 2016 16:13:55 +0000 (17:13 +0100)
commit3e640c256aa1bf0d3b2e14ddc23a8d84caddcb92
tree6a5651357f18ec8c5393f71d904eb1780e2d2248
parentae4e4ba06da0ef50150d7d366ac4f7ec2179115c
mesa: Update _mesa_has_geometry_shaders

Updates the _mesa_has_geometry_shaders function to also look
for OpenGL ES 3.1 contexts that has OES_geometry_shader enabled.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/context.h