Mesa (master): draw: correct address for machine struct in llvm path

Keith Whitwell keithw at kemper.freedesktop.org
Thu Jul 23 17:49:13 UTC 2009


Module: Mesa
Branch: master
Commit: aa99a765c15392d06e3a33d4eda377c58bc6afec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa99a765c15392d06e3a33d4eda377c58bc6afec

Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jul 23 18:48:04 2009 +0100

draw: correct address for machine struct in llvm path

This changed after a recent commit.

---

 src/gallium/auxiliary/draw/draw_vs_llvm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_vs_llvm.c b/src/gallium/auxiliary/draw/draw_vs_llvm.c
index 727977b..b3535c0 100644
--- a/src/gallium/auxiliary/draw/draw_vs_llvm.c
+++ b/src/gallium/auxiliary/draw/draw_vs_llvm.c
@@ -119,7 +119,7 @@ draw_create_vs_llvm(struct draw_context *draw,
    vs->base.create_varient = draw_vs_varient_generic;
    vs->base.run_linear = vs_llvm_run_linear;
    vs->base.delete = vs_llvm_delete;
-   vs->machine = &draw->vs.machine;
+   vs->machine = draw->vs.machine;
 
    {
       struct gallivm_ir *ir = gallivm_ir_new(GALLIVM_VS);




More information about the mesa-commit mailing list