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>
dev
Tiago Vignatti 13 years ago committed by Kristian Høgsberg
parent d9c8250955
commit 2cc8b87310
  1. 1
      compositor/compositor.c

@ -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;

Loading…
Cancel
Save