summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-02-25 12:14:58 +0100
committerChristian König <[email protected]>2012-02-25 12:14:58 +0100
commit2a97a00e28db330b8061c73ea6f1a7b7ad9d245f (patch)
tree5267ccc91710c3adbbfeaa03b430a8006e30a4de
parentdcf8ee7d6ac89bb2a9d608618a51604a3c78fe96 (diff)
vl/compositor: fix a simple typo
Otherwise the dirty area tracking won't work correctly. Signed-off-by: Christian König <[email protected]>
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor.c2
1 files changed, 1 insertions, 1 deletions
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);