diff options
author | Emil Velikov <[email protected]> | 2016-11-21 13:46:51 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-11-22 15:13:41 +0000 |
commit | 7c6babb22c83d0cde747ec57c5ceb3c9e037c626 (patch) | |
tree | bcad910dd6a611de75d7c6e2a9ba8c0907fe216c /src/gallium/auxiliary | |
parent | b9880d2e93a260c348b9413cb2c633365ba13b6e (diff) |
egl/x11: store xcb_screen_t *screen instead of int screen
Just fetch and store it once, rather than doing the
xcb_setup_roots_iterator + get_xcb_screen dance five times.
v2: Call xcb_disconnect() on error (Eric)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions