mesa/main: correct extension-checks for GL_BLACKHOLE_RENDER_INTEL
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 19 Feb 2020 11:12:27 +0000 (12:12 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 1 Apr 2020 10:57:43 +0000 (12:57 +0200)
commit70b6972140e74037109b7f8c57d442c8316d09dc
treedf490e83b8b3a29ecc0a15248b0a0a882f485f30
parent1e3b74ee73f897bfe50c9bf27458c95870d8c317
mesa/main: correct extension-checks for GL_BLACKHOLE_RENDER_INTEL

KHR_blend_equation_advanced_coherent isn't exposed on OpenGL ES 1.x
nor OpenGL versions prior to 30, so we shouldn't allow to query its
enum-states there either.

Fixes: 74ec39f66d5 ("mesa: add INTEL_blackhole_render")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/329>
src/mesa/main/enable.c