uxa/glamor/dri: Fix a typo bug when fixup glamor pixmap.
PATCH 1/1 uxa/glamor/dri: Fix a typo bug when fixup glamor pixmap.
From: Zhigang Gong <[email protected]>
Should modify the old pixmap's header not the new one which was already destroyed.
Signed-off-by Zhigang Gong <[email protected]>
--- src/intel_dri.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
src/intel_dri.c +1 -1
@@ -174,7 +174,7 @@ static PixmapPtr fixup_glamor(DrawablePtr drawable, PixmapPtr pixmap)xf86DrvMsg (scrn->scrnIndex,X_WARNING ,"Failed to get DRI drawable for glamor pixmap.\n" ); - screen->ModifyPixmapHeader(pixmap, + screen->ModifyPixmapHeader(old, drawable->width, drawable->height, 0, 0,
Signature · 1 line
1.7.4.4
Quoted 4 lines · On Tue, 7 Feb 2012 09:40:54 +0800, [email protected] wrote:
From: Zhigang Gong <[email protected]>
Should modify the old pixmap's header not the new one which was already destroyed.
Pushed, thanks.
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre