From: Jakob Bornecrantz Date: Tue, 8 Jul 2008 12:44:23 +0000 (+0200) Subject: i915: Use deviceID in EGL device create X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1257bb9b130c9487a32e422a8ce8ddba2f14a568;p=mesa.git i915: Use deviceID in EGL device create --- 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);