summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-07-01 15:52:37 +0200
committerJakob Bornecrantz <[email protected]>2008-07-01 15:52:37 +0200
commite99ce4af8a6a6f9b257bfceb0f9133a29f06f2c7 (patch)
tree27ee2dccf15bc6e388d2a33cee026e9d78cfd802
parentb3da2a9524b47838da33d8f7fd63c5d90a659cfa (diff)
i915: Last reference to surface -> pitch
-rw-r--r--src/gallium/winsys/dri/intel/intel_swapbuffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_swapbuffers.c b/src/gallium/winsys/dri/intel/intel_swapbuffers.c
index f58da97c64a..f751f975245 100644
--- a/src/gallium/winsys/dri/intel/intel_swapbuffers.c
+++ b/src/gallium/winsys/dri/intel/intel_swapbuffers.c
@@ -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);