diff options
author | Keith Packard <keithp@keithp.com> | 2010-04-30 13:33:54 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-06 16:00:12 -0700 |
commit | 42ddc39430a10513c49a415ddf1a0dc5fa52089e (patch) | |
tree | 017a90e54a017bd36d74fa592eb9ff85c16255d3 /src/i830.h | |
parent | 2c1fda08e889cad07acb452230da06f9c383d21c (diff) |
Adapt to DevPrivate API changes
This allows the driver to be built against either the old or new
DevPrivate API.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -154,7 +154,11 @@ struct intel_pixmap { struct list flush, batch, in_flight; }; +#if HAS_DEVPRIVATEKEYREC +extern DevPrivateKeyRec uxa_pixmap_index; +#else extern int uxa_pixmap_index; +#endif static inline struct intel_pixmap *i830_get_pixmap_intel(PixmapPtr pixmap) { |