summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-04-19 12:46:08 -0400
committerZack Rusin <[email protected]>2010-04-19 12:53:27 -0400
commit7c4208c3a0f48955720f41b3cb320a120c505ba6 (patch)
tree4e6f60cd8d6670d93f0e1a7786188d05389c94dd /src/gallium/drivers
parentdeee1523639b4b59841ecbbdebe6797541e0e7d1 (diff)
draw llvm: fix constructor mess
use just one constructor to figure out whether to use llvm.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c
index efdc2450f79..f7cf06d8d46 100644
--- a/src/gallium/drivers/llvmpipe/lp_context.c
+++ b/src/gallium/drivers/llvmpipe/lp_context.c
@@ -45,10 +45,6 @@
#include "lp_query.h"
#include "lp_setup.h"
-
-#define USE_DRAW_LLVM 1
-
-
static void llvmpipe_destroy( struct pipe_context *pipe )
{
struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe );
@@ -162,11 +158,7 @@ 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(&llvmpipe->pipe);
-#else
llvmpipe->draw = draw_create(&llvmpipe->pipe);
-#endif
if (!llvmpipe->draw)
goto fail;