diff options
-rw-r--r-- | src/drmmode_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 22c967a6..ae200ca6 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -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); |