egl/dri2: use the correct screen index
authorMarek Olšák <marek.olsak@amd.com>
Tue, 19 Aug 2014 22:33:34 +0000 (00:33 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 1 Sep 2014 18:09:19 +0000 (20:09 +0200)
commit0b56e23e7f3d5852a90e965b2958fd446270a7f8
treebab07c5fc3ff581f42c888c3ab6730ee369a7454
parent1a428a52566521bcd86299904eeea19a0b7aecb5
egl/dri2: use the correct screen index

Required for multi-GPU configuration where each GPU has its own X screen.
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_x11.c