diff options
author | Keith Packard <keithp@keithp.com> | 2014-08-16 17:05:35 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-09-12 13:50:36 -0700 |
commit | 61305740ef3dcd4ee10b335574d659d7c886d29a (patch) | |
tree | 8f16d2a4dfc948d88d734ff1831fbd473949f283 /src/uxa/intel_dri.c | |
parent | 1ac76b47b3dd8d14017271f5abd72664c71021c5 (diff) |
Eliminate pixmap private 'stride' field, which duplicates devKind
The pixmap private stride field is an exact duplicate of the devKind
field present in the core pixmap; eliminate the duplicate value and
replace references by calls to intel_pixmap_pitch.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/uxa/intel_dri.c')
-rw-r--r-- | src/uxa/intel_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel_dri.c b/src/uxa/intel_dri.c index ef66aa53..eb210f36 100644 --- a/src/uxa/intel_dri.c +++ b/src/uxa/intel_dri.c @@ -152,7 +152,7 @@ static PixmapPtr fixup_glamor(DrawablePtr drawable, PixmapPtr pixmap) drawable->width, drawable->height, 0, 0, - priv->stride, + intel_pixmap_pitch(pixmap), NULL); screen->DestroyPixmap(pixmap); intel_get_screen_private(xf86ScreenToScrn(screen))->needs_flush = TRUE; |