From 2efabd9f5a711a7f6cd1846630244b7814bf25b3 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 10 Nov 2014 00:37:03 +0100 Subject: gallium: remove unused pipe_viewport_state::translate[3] and scale[3] Almost all drivers ignore them. --- src/gallium/auxiliary/postprocess/pp_init.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/auxiliary/postprocess') diff --git a/src/gallium/auxiliary/postprocess/pp_init.c b/src/gallium/auxiliary/postprocess/pp_init.c index 05a08304762..bdf66e6d63a 100644 --- a/src/gallium/auxiliary/postprocess/pp_init.c +++ b/src/gallium/auxiliary/postprocess/pp_init.c @@ -324,8 +324,6 @@ pp_init_fbos(struct pp_queue_t *ppq, unsigned int w, p->viewport.scale[0] = p->viewport.translate[0] = (float) w / 2.0f; p->viewport.scale[1] = p->viewport.translate[1] = (float) h / 2.0f; - p->viewport.scale[3] = 1.0f; - p->viewport.translate[3] = 0.0f; ppq->fbos_init = true; -- cgit v1.2.3