From: Michel Dänzer Date: Tue, 16 Oct 2007 11:01:44 +0000 (+0200) Subject: i915: Re-enable __DRItexOffsetExtension. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c4d104e98bb2cc8d5719d00445db0617c8f5de1;p=mesa.git i915: Re-enable __DRItexOffsetExtension. This seems to have got lost somehow during the recent DRI interface changes. --- diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 291441b3608..8c4af6eaf59 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 };