summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/postprocess/pp_run.c
diff options
context:
space:
mode:
authorLauri Kasanen <[email protected]>2012-01-24 21:37:07 +0200
committerAlex Deucher <[email protected]>2012-02-02 16:42:06 -0500
commitc5976017e31828dd67fb54e8c11b863fffcac70b (patch)
treeb48166e7a8a84c0fa5d904ae31fed0a7c6d38e3c /src/gallium/auxiliary/postprocess/pp_run.c
parentcd2e2187cb45accb13bf89ef297324332c46f379 (diff)
gallium/postprocess: Fix depth logic
This prevents a possible lapse of the depth buffer - the situation where the app and pp have different depth buffers. NOTE: This is a candidate for the 8.0 stable branch. Signed-off-by: Lauri Kasanen <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/postprocess/pp_run.c')
-rw-r--r--src/gallium/auxiliary/postprocess/pp_run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_run.c b/src/gallium/auxiliary/postprocess/pp_run.c
index ab09a5645cc..be52051ed65 100644
--- a/src/gallium/auxiliary/postprocess/pp_run.c
+++ b/src/gallium/auxiliary/postprocess/pp_run.c
@@ -49,7 +49,7 @@ pp_run(struct pp_queue_t *ppq, struct pipe_resource *in,
in->height0 != ppq->p->framebuffer.height) {
pp_debug("Resizing the temp pp buffers\n");
pp_free_fbos(ppq);
- pp_init_fbos(ppq, in->width0, in->height0, indepth);
+ pp_init_fbos(ppq, in->width0, in->height0);
}
if (in == out && ppq->n_filters == 1) {