egl/x11: 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)
commit263d4b8b1ca6d9955fcda7cc7d9edb6a8f4c045f
treeca3396498c053baf88601fc258b860ae87a9b05d
parentc31146f0808f67cd7e173b0ca5786eb342e9e4d0
egl/x11: Declare loop vars inside the loop

That is, consistently do this:

    for (int i = 0; ...)

No behavioral change.

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