OSDN Git Service

draw: correct address for machine struct in llvm path
authorKeith Whitwell <keithw@vmware.com>
Thu, 23 Jul 2009 17:48:04 +0000 (18:48 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 23 Jul 2009 17:48:04 +0000 (18:48 +0100)
This changed after a recent commit.

src/gallium/auxiliary/draw/draw_vs_llvm.c

index 727977b..b3535c0 100644 (file)
@@ -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);