glx/dri3: rework __DRIextension handling
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 16 Mar 2014 01:17:46 +0000 (01:17 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Apr 2014 18:13:37 +0000 (19:13 +0100)
commitecfe986120adb2c574cb03bea318eae96e564924
tree0848f01dcdea17d32f9312c5a759d15bbd52315a
parent4be3874c97379b72f1129e7866ec6868610778a5
glx/dri3: rework __DRIextension handling

Use a const array with the extensions, rather than assigning each
one to a fixed size array at runtime.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri3_glx.c
src/glx/dri3_priv.h