diff options
author | Jakob Bornecrantz <jakob@aurora.(none)> | 2008-07-08 14:44:23 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@aurora.(none)> | 2008-07-08 14:44:23 +0200 |
commit | 1257bb9b130c9487a32e422a8ce8ddba2f14a568 (patch) | |
tree | fbaac2f2876c97309415469e5347c42ebdec4055 | |
parent | 0c6efeb02beba32a35dda7c5d5a3086ca2d8cbc4 (diff) |
i915: Use deviceID in EGL device create
-rw-r--r-- | src/gallium/winsys/egl_drm/intel/intel_device.c | 2 |
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 a601904ba44..b9649cbec71 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); |