diff options
author | Marek Olšák <[email protected]> | 2014-11-10 00:37:03 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-11-16 01:28:28 +0100 |
commit | 2efabd9f5a711a7f6cd1846630244b7814bf25b3 (patch) | |
tree | 3907aca0e57da6f2d391ef13db4471a67f17701c /src/gallium/auxiliary/vl/vl_compositor.c | |
parent | ff8042270f857e85abe2968bcab1cd742cabb496 (diff) |
gallium: remove unused pipe_viewport_state::translate[3] and scale[3]
Almost all drivers ignore them.
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_compositor.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 6bd1a886ed4..69839e61386 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.c +++ b/src/gallium/auxiliary/vl/vl_compositor.c @@ -829,9 +829,7 @@ vl_compositor_clear_layers(struct vl_compositor_state *s) s->layers[i].blend = NULL; s->layers[i].fs = NULL; s->layers[i].viewport.scale[2] = 1; - s->layers[i].viewport.scale[3] = 1; s->layers[i].viewport.translate[2] = 0; - s->layers[i].viewport.translate[3] = 0; s->layers[i].rotate = VL_COMPOSITOR_ROTATE_0; for ( j = 0; j < 3; j++) |