summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
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/include
parentff8042270f857e85abe2968bcab1cd742cabb496 (diff)
gallium: remove unused pipe_viewport_state::translate[3] and scale[3]
Almost all drivers ignore them.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 36d253c5157..43bc48bd336 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -166,8 +166,8 @@ struct pipe_poly_stipple
struct pipe_viewport_state
{
- float scale[4];
- float translate[4];
+ float scale[3];
+ float translate[3];
};