i915: Last reference to surface -> pitch
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Tue, 1 Jul 2008 13:52:37 +0000 (15:52 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Tue, 1 Jul 2008 13:52:37 +0000 (15:52 +0200)
src/gallium/winsys/dri/intel/intel_swapbuffers.c

index f58da97c64a2a2449cf91b904188cbcc163fe56f..f751f97524591115407c784d283885c34ed191ed 100644 (file)
@@ -97,7 +97,7 @@ intelDisplaySurface(__DRIdrawablePrivate *dPriv,
       ASSERT(surf->cpp == cpp);
 
       DBG(SWAP, "screen pitch %d  src surface pitch %d\n",
-         pitch, surf->pitch);
+         pitch, surf->stride);
 
       if (cpp == 2) {
         BR13 = (pitch * cpp) | (0xCC << 16) | (1 << 24);