loader/dri3: add get_dri_screen() to the vtable
authorMartin Peres <martin.peres@linux.intel.com>
Thu, 6 Oct 2016 14:07:22 +0000 (17:07 +0300)
committerMartin Peres <martin.peres@linux.intel.com>
Fri, 7 Oct 2016 08:11:44 +0000 (11:11 +0300)
commit0247e5ee3edd546b8598082d5b45d110f61853d0
tree428c1747d1b7fb8a49569c9bde6a0e2ffec63e96
parent82b4f1c47b1d6ca326dbd863253d89337f565309
loader/dri3: add get_dri_screen() to the vtable

This allows querying the current active screen from the
loader's common code.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
src/egl/drivers/dri2/platform_x11_dri3.c
src/glx/dri3_glx.c
src/loader/loader_dri3_helper.h