Commit 2cc8b873 authored by Tiago Vignatti's avatar Tiago Vignatti Committed by Kristian Høgsberg
Browse files

compositor: fix pitch initialization



texture_region was getting a trash value for computing.  I don't
understand how we couldn't see any artifact on surface output in such
case.
Signed-off-by: default avatarTiago Vignatti <tiago.vignatti@intel.com>
parent d9c82509
......@@ -754,6 +754,7 @@ fade_output(struct wlsc_output *output,
surface.compositor = compositor;
surface.x = output->x;
surface.y = output->y;
surface.pitch = output->current->width;
surface.width = output->current->width;
surface.height = output->current->height;
surface.texture = GL_NONE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment