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: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
d9c8250955
commit
2cc8b87310
@@ -754,6 +754,7 @@ fade_output(struct wlsc_output *output,
|
|||||||
surface.compositor = compositor;
|
surface.compositor = compositor;
|
||||||
surface.x = output->x;
|
surface.x = output->x;
|
||||||
surface.y = output->y;
|
surface.y = output->y;
|
||||||
|
surface.pitch = output->current->width;
|
||||||
surface.width = output->current->width;
|
surface.width = output->current->width;
|
||||||
surface.height = output->current->height;
|
surface.height = output->current->height;
|
||||||
surface.texture = GL_NONE;
|
surface.texture = GL_NONE;
|
||||||
|
|||||||
Reference in New Issue
Block a user