i915: Re-enable __DRItexOffsetExtension.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 16 Oct 2007 11:01:44 +0000 (13:01 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Tue, 16 Oct 2007 11:01:44 +0000 (13:01 +0200)
This seems to have got lost somehow during the recent DRI interface changes.

src/mesa/drivers/dri/i915/intel_screen.c

index 291441b36080382d1dc1863acd240c37a3e9ca95..8c4af6eaf5916cfa622dac4998056841973d66f4 100644 (file)
@@ -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
 };