summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_state.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-29 15:02:31 +0800
committerChia-I Wu <[email protected]>2013-06-07 11:13:15 +0800
commit29b938d9f43a4bc355ee05cad2c9796ea7ee93dd (patch)
treeabcc679677f64e5a73fcae857661cc9c574d352e /src/gallium/drivers/ilo/ilo_state.c
parent130364ad1d5010e9320aaa312309f83746d751d3 (diff)
ilo: switch to ilo states for WM stage
Define and use struct ilo_rasterizer_state; in ilo_context.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c
index dfee07f4825..30d5056f053 100644
--- a/src/gallium/drivers/ilo/ilo_state.c
+++ b/src/gallium/drivers/ilo/ilo_state.c
@@ -300,12 +300,12 @@ static void *
ilo_create_rasterizer_state(struct pipe_context *pipe,
const struct pipe_rasterizer_state *state)
{
- struct pipe_rasterizer_state *rast;
+ struct ilo_rasterizer_state *rast;
- rast = MALLOC_STRUCT(pipe_rasterizer_state);
+ rast = MALLOC_STRUCT(ilo_rasterizer_state);
assert(rast);
- *rast = *state;
+ rast->state = *state;
return rast;
}