softpipe: fix llvm build

Thanks to Wubbbi on #dri-devel for pointing it out.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2012-01-11 10:16:56 +00:00
parent 1865f341d8
commit 5840ec2d41
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -334,7 +334,7 @@ softpipe_create_screen(struct sw_winsys *winsys)
screen->base.context_create = softpipe_create_context;
screen->base.flush_frontbuffer = softpipe_flush_frontbuffer;
screen->using_llvm = debug_get_option_use_llvm();
screen->use_llvm = debug_get_option_use_llvm();
util_format_s3tc_init();

View File

@ -46,7 +46,7 @@ struct softpipe_screen {
* this.
*/
unsigned timestamp;
boolean using_llvm;
boolean use_llvm;
};
static INLINE struct softpipe_screen *