diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-10-16 13:01:44 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-10-16 13:01:44 +0200 |
commit | 9c4d104e98bb2cc8d5719d00445db0617c8f5de1 (patch) | |
tree | fe23f4d2d608f68e351780297601e431694ac4bf | |
parent | cab0dce6766c9ac728bc9f88dc94b8651fc257fb (diff) |
i915: Re-enable __DRItexOffsetExtension.
This seems to have got lost somehow during the recent DRI interface changes.
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_screen.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 291441b360..8c4af6eaf5 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -421,12 +421,18 @@ intelUpdateScreenFromSAREA(intelScreenPrivate * intelScreen, intelPrintSAREA(sarea); } +static const __DRItexOffsetExtension intelTexOffsetExtension = { + { __DRI_TEX_OFFSET }, + intelSetTexOffset, +}; + static const __DRIextension *intelExtensions[] = { &driReadDrawableExtension, &driCopySubBufferExtension.base, &driSwapControlExtension.base, &driFrameTrackingExtension.base, &driMediaStreamCounterExtension.base, + &intelTexOffsetExtension.base, NULL }; |