diff options
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_setup.c b/src/gallium/drivers/llvmpipe/lp_state_setup.c index 9f1ec146e9d..f7ba0035b37 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_state_setup.c @@ -556,7 +556,7 @@ finalize_function(struct gallivm_state *gallivm, lp_func_delete_body(function); - return f; + return (lp_jit_setup_triangle) pointer_to_func(f); } /* XXX: Generic code: |