egl/dri2/x11: Set dri2_dpy->own_device
authorChad Versace <chad.versace@linux.intel.com>
Wed, 29 Jan 2014 02:52:00 +0000 (18:52 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 17 Mar 2014 22:39:22 +0000 (15:39 -0700)
commit31cd0fee317c8532ac93f6de13c7955511f738a0
tree8e0b675420f5588e13a246d7356bfab70d25e94a
parent688a0e8e73b916438878b4fc2271453ee79ec7a6
egl/dri2/x11: Set dri2_dpy->own_device

When the user calls eglGetDisplay(EGL_DEFAULT_DISPLAY), the Wayland and
DRM platforms set dri2_dpy->own_device=true. This patch makes the X11
platform do the same for consistency.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/platform_x11.c