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/draw | |
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/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index b0f4ca2c4c0..bb8c03c36f9 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -373,11 +373,9 @@ void draw_set_viewport_states( struct draw_context *draw, (viewport->scale[0] == 1.0f && viewport->scale[1] == 1.0f && viewport->scale[2] == 1.0f && - viewport->scale[3] == 1.0f && viewport->translate[0] == 0.0f && viewport->translate[1] == 0.0f && - viewport->translate[2] == 0.0f && - viewport->translate[3] == 0.0f); + viewport->translate[2] == 0.0f); } |