From: Christian König Date: Sat, 25 Feb 2012 11:14:58 +0000 (+0100) Subject: vl/compositor: fix a simple typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a97a00e28db330b8061c73ea6f1a7b7ad9d245f;p=mesa.git vl/compositor: fix a simple typo Otherwise the dirty area tracking won't work correctly. Signed-off-by: Christian König --- diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 678909583a3..80cb5ce03a1 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.c +++ b/src/gallium/auxiliary/vl/vl_compositor.c @@ -948,7 +948,7 @@ vl_compositor_render(struct vl_compositor *c, c->pipe->clear_render_target(c->pipe, dst_surface, &c->clear_color, 0, 0, dst_surface->width, dst_surface->height); dirty_area->x0 = dirty_area->y0 = MAX_DIRTY; - dirty_area->x0 = dirty_area->y1 = MIN_DIRTY; + dirty_area->x1 = dirty_area->y1 = MIN_DIRTY; } c->pipe->set_scissor_state(c->pipe, &c->scissor);