Put back the pitch alignment for new framebuffers.
I confused a dead assignment with dead code, because one of the args to the function was an outvalue. Fixes corruption under compiz. Bug #26814.
This commit is contained in:
parent
b71ca26a02
commit
9656d329e4
|
|
@ -1262,6 +1262,7 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
|
|||
return TRUE;
|
||||
|
||||
pitch = i830_pad_drawable_width(width, intel->cpp);
|
||||
i830_tiled_width(intel, &pitch, intel->cpp);
|
||||
xf86DrvMsg(scrn->scrnIndex, X_INFO,
|
||||
"Allocate new frame buffer %dx%d stride %d\n",
|
||||
width, height, pitch);
|
||||
|
|
|
|||
Loading…
Reference in New Issue