diff options
author | Marek Olšák <[email protected]> | 2014-08-20 00:33:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-09-01 20:09:19 +0200 |
commit | 0b56e23e7f3d5852a90e965b2958fd446270a7f8 (patch) | |
tree | bab07c5fc3ff581f42c888c3ab6730ee369a7454 /src/egl/drivers/dri2/egl_dri2.h | |
parent | 1a428a52566521bcd86299904eeea19a0b7aecb5 (diff) |
egl/dri2: use the correct screen index
Required for multi-GPU configuration where each GPU has its own X screen.
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 0dd9d69d08e..52f05fbfd3c 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -184,6 +184,7 @@ struct dri2_egl_display #ifdef HAVE_X11_PLATFORM xcb_connection_t *conn; + int screen; #endif #ifdef HAVE_WAYLAND_PLATFORM |