summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-01-11 10:16:56 +0000
committerDave Airlie <[email protected]>2012-01-11 10:16:56 +0000
commit5840ec2d41d09895bec7074a90521978fb933695 (patch)
treec9a6c14ac698d46cbd429e04bae5b7311c2b0796 /src/gallium/drivers/softpipe/sp_context.c
parent1865f341d8f45b389061fc08d2da90b7aa8a6099 (diff)
softpipe: fix llvm build
Thanks to Wubbbi on #dri-devel for pointing it out. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index abe0507b1ac..1fb0a79f207 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -305,7 +305,7 @@ softpipe_create_context( struct pipe_screen *screen,
/*
* Create drawing context and plug our rendering stage into it.
*/
- if (sp_screen->using_llvm)
+ if (sp_screen->use_llvm)
softpipe->draw = draw_create(&softpipe->pipe);
else
softpipe->draw = draw_create_no_llvm(&softpipe->pipe);