mesa: reuse set_extension() for _mesa_extension_override_disables
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Oct 2017 14:57:08 +0000 (15:57 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 14:07:14 +0000 (14:07 +0000)
commita3f82876f4471b88158074766c6115e15642d734
tree5e7a7535213058af3dc483b41b9bc1764b49e50d
parent444d9e4b081ab18352fc30a3c90829536ddd49fb
mesa: reuse set_extension() for _mesa_extension_override_disables

We already use it for _mesa_extension_override_enables.
Improve consistency and use it for both extension lists.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/extensions.c