gallivm: Don't hardcode number of args twice.

This commit is contained in:
José Fonseca 2010-05-08 19:26:55 +01:00
parent d044ecbe76
commit de088c6ae4

View file

@ -384,7 +384,7 @@ lp_build_fetch_rgba_aos(LLVMBuilderRef builder,
args[2] = i;
args[3] = j;
LLVMBuildCall(builder, function, args, 4, "");
LLVMBuildCall(builder, function, args, Elements(args), "");
return LLVMBuildLoad(builder, tmp, "");
}