diff options
author | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-07-07 14:29:11 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-07-07 14:29:11 +0200 |
commit | 687c8d8941bb62fdb4fbdbb0ff5f359851c290b5 (patch) | |
tree | 0d087c30e46286a445d5fe8b444f2ab5c3eec7b9 /src/gallium/winsys/egl_drm/intel/intel_egl.h | |
parent | 1315f720ba80596b866103a7e153bfc2f2bd267b (diff) |
i915: Fetch the real deviceID for EGL
Diffstat (limited to 'src/gallium/winsys/egl_drm/intel/intel_egl.h')
-rw-r--r-- | src/gallium/winsys/egl_drm/intel/intel_egl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/winsys/egl_drm/intel/intel_egl.h b/src/gallium/winsys/egl_drm/intel/intel_egl.h index 84b6c212bf..1ee27e0847 100644 --- a/src/gallium/winsys/egl_drm/intel/intel_egl.h +++ b/src/gallium/winsys/egl_drm/intel/intel_egl.h @@ -2,10 +2,15 @@ #ifndef _INTEL_EGL_H_ #define _INTEL_EGL_H_ +#include <xf86drm.h> + struct egl_drm_device { void *priv; int drmFD; + + drmVersionPtr version; + int deviceID; }; struct egl_drm_context |