Revert "intel: disable zero-copy TFP."
authorDave Airlie <airlied@linux.ie>
Fri, 25 Jul 2008 09:57:35 +0000 (19:57 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 25 Jul 2008 09:57:35 +0000 (19:57 +1000)
This reverts commit 94979950e8991bd44899eb4067c3ae43449ce51e.

I've fixed it instead

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

index 467d022f449ca51de8eb29f95b13fb23c97ca87c..5233e58fc962b6433318a9a7993f334bfd5b4e72 100644 (file)
@@ -391,12 +391,10 @@ intelHandleBufferAttach(__DRIdrawablePrivate *dPriv,
    intel_renderbuffer_set_region(rb, region);
 }
 
-#if 0
 static const __DRItexOffsetExtension intelTexOffsetExtension = {
    { __DRI_TEX_OFFSET },
    intelSetTexOffset,
 };
-#endif
 
 static const __DRItexBufferExtension intelTexBufferExtension = {
     { __DRI_TEX_BUFFER, __DRI_TEX_BUFFER_VERSION },
@@ -409,9 +407,7 @@ static const __DRIextension *intelScreenExtensions[] = {
     &driSwapControlExtension.base,
     &driFrameTrackingExtension.base,
     &driMediaStreamCounterExtension.base,
-#if 0
     &intelTexOffsetExtension.base,
-#endif
     &intelTexBufferExtension.base,
     NULL
 };