summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/egl_drm/intel/intel_egl.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-07-07 14:29:11 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-07-07 14:29:11 +0200
commit687c8d8941bb62fdb4fbdbb0ff5f359851c290b5 (patch)
tree0d087c30e46286a445d5fe8b444f2ab5c3eec7b9 /src/gallium/winsys/egl_drm/intel/intel_egl.h
parent1315f720ba80596b866103a7e153bfc2f2bd267b (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.h5
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