Commit 695a029e authored by Zack Rusin's avatar Zack Rusin
Browse files

llvmpipe: use a define to decide whether to use draw llvm paths

right now disabled by default
parent 06bda76c
......@@ -47,7 +47,7 @@
#include "lp_setup.h"
#define USE_DRAW_LLVM 0
static void llvmpipe_destroy( struct pipe_context *pipe )
......@@ -182,7 +182,11 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv )
/*
* Create drawing context and plug our rendering stage into it.
*/
#if USE_DRAW_LLVM
llvmpipe->draw = draw_create_with_llvm(llvmscreen->engine);
#else
llvmpipe->draw = draw_create();
#endif
if (!llvmpipe->draw)
goto fail;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment