[Mesa-dev] [PATCH 09/10] egl/drm: Declare EGLConfig attrib array inside loop

Chad Versace chadversary at chromium.org
Thu Jun 22 19:32:14 UTC 2017


On Thu 22 Jun 2017, Eric Engestrom wrote:
> On 22 June 2017 19:10:55 BST, Chad Versace <chadversary at chromium.org> wrote:
> > 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.
> > 
> > Cc: Eric Engestrom <eric at engestrom.ch>
> > Cc: Emil Velikov <emil.velikov at collabora.com>
> > ---
> >  src/egl/drivers/dri2/platform_x11.c | 24 ++++++++++++------------
> >  1 file changed, 12 insertions(+), 12 deletions(-)


> s/drm/x11/ in the subject

Thanks and fixed.


More information about the mesa-dev mailing list