egl/android: Declare EGLConfig attrib array inside loop (v2)
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)
commitbd789098a53518ac559eba7305876f3dcacdc863
treeb2577e17c9cff5abbd1920720522c2e27610ac34
parentcd717cbe1a6c73684dffd91ac6c2e16b3edb38ed
egl/android: Declare EGLConfig attrib array inside loop (v2)

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.

v2: Rebase.

Reviewed-by: Eric Engestrom <eric@engestrom.ch> (v1)
src/egl/drivers/dri2/platform_android.c