summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/postprocess
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-11-10 00:37:03 +0100
committerMarek Olšák <[email protected]>2014-11-16 01:28:28 +0100
commit2efabd9f5a711a7f6cd1846630244b7814bf25b3 (patch)
tree3907aca0e57da6f2d391ef13db4471a67f17701c /src/gallium/auxiliary/postprocess
parentff8042270f857e85abe2968bcab1cd742cabb496 (diff)
gallium: remove unused pipe_viewport_state::translate[3] and scale[3]
Almost all drivers ignore them.
Diffstat (limited to 'src/gallium/auxiliary/postprocess')
-rw-r--r--src/gallium/auxiliary/postprocess/pp_init.c2
1 files changed, 0 insertions, 2 deletions
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;