diff options
author | Chia-I Wu <[email protected]> | 2013-05-29 15:02:31 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-07 11:13:15 +0800 |
commit | 29b938d9f43a4bc355ee05cad2c9796ea7ee93dd (patch) | |
tree | abcc679677f64e5a73fcae857661cc9c574d352e /src/gallium/drivers/ilo/ilo_state.c | |
parent | 130364ad1d5010e9320aaa312309f83746d751d3 (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.c | 6 |
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; } |