From 5c364b3ef78cd36a41c43a771efe5b631ea9559b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 21 Apr 2010 17:30:39 +0100 Subject: [PATCH] draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe). Prevents the assertion failure. --- src/gallium/auxiliary/draw/draw_context.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2