egl: android: clean-up config attribute setting
authorRob Herring <robh@kernel.org>
Tue, 2 Feb 2016 20:23:10 +0000 (14:23 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 18 Feb 2016 17:47:33 +0000 (17:47 +0000)
commitba06ea1a37fd6f4807a70e12fa2581a027d6358d
tree588092ae05bcbd7572446c7a1754897d85411874
parente35c5af337524011c3d4f37ca3dbfca28d33ccad
egl: android: clean-up config attribute setting

Pass the additional config attributes to dri2_add_config to set them
instead of open coding them. This is in preparation to add more attributes.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_android.c