egl/dri2: use dri2_egl_display inline wrapper where possible
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 15 Jul 2016 11:47:37 +0000 (12:47 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:16:07 +0000 (12:16 +0100)
commit532ec2edd878e5691998a1b2132a68a89845b55e
treecb4edd53251e398754c872393d3a1d39b7a19470
parentd6dcf3b4ca7053e9c49780a398c3baabd884ff2c
egl/dri2: use dri2_egl_display inline wrapper where possible

This way the only places that reference DriverData are the ones that
manipulate it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/egl_dri2.c