egl: remove explicit config_id management from dri2_add_config()
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 30 Sep 2016 12:45:55 +0000 (13:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Nov 2016 21:18:48 +0000 (21:18 +0000)
commit3652d1d5942a857f225700d67ce2c900396982f2
tree885c99973b58c5d5b671af90d7e81a14b6267493
parent084105c213dbf4c309453b33a966aac6ae9242f3
egl: remove explicit config_id management from dri2_add_config()

Currently we only saved the id to memcpy the whole _EGLConfig to write
back the exact same id value.

Remove the unneeded and confusing/misleading code.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/egl_dri2.c