mesa: remove duplicate 'disabled extensions' list
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Oct 2017 14:47:41 +0000 (15:47 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 14:07:14 +0000 (14:07 +0000)
commite4cdce50585edbbbe9b6fe0d3f7215a67b989309
tree5bdfc71160a072157a40199fae3e9d2e36d8158f
parent167e958a87d53614e6bbb78b09bafcea17335b4b
mesa: remove duplicate 'disabled extensions' list

While parsing MESA_EXTENSION_OVERRIDE we keep track of the disabled
extensions, twice - in _mesa_extension_override_disables and
disabled_extensions.

Upon context creation, we use the former to modify the extensions list.
Yet, we still check the updated list against disabled_extensions.

Remove disabled_extensions, it's obsolete.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/extensions.c