Revert "egl: remove explicit config_id management from dri2_add_config()"
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Nov 2016 21:45:07 +0000 (21:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Nov 2016 21:48:50 +0000 (21:48 +0000)
commitaeaf21ab3e6cb3e628ff0219461cbd06f3a99d34
treee8ebca6535d3e868b57bf076dc14e80a16e719fb
parent5b92008ae279962dc09bcf98c9e5511a325a2bd9
Revert "egl: remove explicit config_id management from dri2_add_config()"

This reverts commit 3652d1d5942a857f225700d67ce2c900396982f2.

Self nack/reject on this one. The base.ConfigID is overwritten
immediately after we store the current value, thus one memcpy [further
down] the wrong value will be copied.
src/egl/drivers/dri2/egl_dri2.c