egl/dri2: Declare loop vars inside the loop
authorChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 18:00:40 +0000 (11:00 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 19:35:49 +0000 (12:35 -0700)
commitcd717cbe1a6c73684dffd91ac6c2e16b3edb38ed
tree4792f74d820647d9d18ec0a75a52bd66ff80bbb3
parent98497dfd6a594e36d5c3e3bba4fae5eb428a0856
egl/dri2: Declare loop vars inside the loop

That is, consistently do this:

    for (int i = 0; ...)

No behavioral change.
This patch touches only egl_dri2.c.

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