diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-05-29 13:29:44 +0200 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-05-29 13:30:25 +0200 |
commit | 835f5a65a11ae9ca9f4b36ceb6656c77041ec901 (patch) | |
tree | 4b81ca16c858b9e61a70f9a05e2b067ce3d72f60 /src/gallium/drivers/i915/i915_winsys.h | |
parent | bbaaf823fa98c5c978aa10d61000485c10275f5a (diff) |
i915g: Move pci id to winsys struct
Diffstat (limited to 'src/gallium/drivers/i915/i915_winsys.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_winsys.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |