From 835f5a65a11ae9ca9f4b36ceb6656c77041ec901 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 29 May 2010 13:29:44 +0200 Subject: i915g: Move pci id to winsys struct --- src/gallium/drivers/i915/i915_winsys.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/i915/i915_winsys.h') diff --git a/src/gallium/drivers/i915/i915_winsys.h b/src/gallium/drivers/i915/i915_winsys.h index 8a6f579ad9..3aba19fe6a 100644 --- a/src/gallium/drivers/i915/i915_winsys.h +++ b/src/gallium/drivers/i915/i915_winsys.h @@ -81,6 +81,8 @@ struct i915_winsys_batchbuffer { struct i915_winsys { + unsigned pci_id; /**< PCI ID for the device */ + /** * Batchbuffer functions. */ @@ -224,7 +226,7 @@ struct i915_winsys { /** * Create i915 pipe_screen. */ -struct pipe_screen *i915_create_screen(struct i915_winsys *iws, unsigned pci_id); +struct pipe_screen *i915_screen_create(struct i915_winsys *iws); #endif -- cgit v1.2.3