summaryrefslogtreecommitdiff
path: root/src/drm_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drm_fb.c')
-rw-r--r--src/drm_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drm_fb.c b/src/drm_fb.c
index 3d0f6ba..cfaae29 100644
--- a/src/drm_fb.c
+++ b/src/drm_fb.c
@@ -455,6 +455,7 @@ static void * drm_fb_page_alloc(void *context, fb_page_t *res_page)
res_page->fragment.height = c->mode->vdisplay;
res_page->fragment.frame_height = c->mode->vdisplay;
res_page->fragment.stride = create_dumb.pitch - (c->mode->hdisplay * 4);
+ res_page->fragment.pitch = create_dumb.pitch;
return p;
}
© All Rights Reserved