summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_context.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-21 17:30:39 +0100
committerJosé Fonseca <[email protected]>2010-04-21 22:58:41 +0100
commit5c364b3ef78cd36a41c43a771efe5b631ea9559b (patch)
treee78db774b124a880f7accb28a393bff62505a341 /src/gallium/auxiliary/draw/draw_context.c
parentdab8f6b1d9781e91ce5102f1bb98f0e1b1b9a3cf (diff)
draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe).
Prevents the assertion failure.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index 710bf792fc3..02abddf1491 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -49,6 +49,7 @@ struct draw_context *draw_create( struct pipe_context *pipe )
goto fail;
#if HAVE_LLVM
+ lp_build_init();
assert(lp_build_engine);
draw->engine = lp_build_engine;
#endif