egl/drm: Declare EGLConfig attrib array inside loop
authorChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 18:00:41 +0000 (11:00 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 19:35:49 +0000 (12:35 -0700)
commitf8ad7f405492ae1b6b035dd41b6b4b77be51f719
tree54596434468f1d77d29575bd062ce206f164d551
parentbd789098a53518ac559eba7305876f3dcacdc863
egl/drm: Declare EGLConfig attrib array inside loop

No behavioral change. Just a readability cleanup.

Instead of modifying this small array on each loop iteration, we now
initialize it in-place with the values it needs.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/egl/drivers/dri2/platform_drm.c