From: Jakob Bornecrantz Date: Tue, 1 Jul 2008 13:52:37 +0000 (+0200) Subject: i915: Last reference to surface -> pitch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e99ce4af8a6a6f9b257bfceb0f9133a29f06f2c7;p=mesa.git i915: Last reference to surface -> pitch --- 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);