summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/egl_drm/intel/intel_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/egl_drm/intel/intel_device.c b/src/gallium/winsys/egl_drm/intel/intel_device.c
index a601904ba4..b9649cbec7 100644
--- a/src/gallium/winsys/egl_drm/intel/intel_device.c
+++ b/src/gallium/winsys/egl_drm/intel/intel_device.c
@@ -55,7 +55,7 @@ intel_create_device(struct egl_drm_device *device)
intel_device->deviceID = device->deviceID;
- intel_be_init_device(&intel_device->base, device->drmFD, PCI_CHIP_I945_GM);
+ intel_be_init_device(&intel_device->base, device->drmFD, intel_device->deviceID);
intel_device->pipe = i915_create_screen(&intel_device->base.base, intel_device->deviceID);