summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-10-20 17:18:40 -0600
committerBrian Paul <brianp@vmware.com>2010-10-21 17:05:35 -0600
commit154d91cad907ba5643fb3e39717a8f7c5a76049a (patch)
tree2103ffcc6b77936e3b3796f8f9efbf97b0f45e82
parent4e7252510976d8d3ff12437ea8842129f24d88f5 (diff)
draw: fix typo in comment
-rw-r--r--src/gallium/auxiliary/draw/draw_llvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c
index d808c05ba0..140e596f99 100644
--- a/src/gallium/auxiliary/draw/draw_llvm.c
+++ b/src/gallium/auxiliary/draw/draw_llvm.c
@@ -421,7 +421,7 @@ generate_fetch(LLVMBuilderRef builder,
"instance_divisor");
}
- /* limit index to min(inex, vb_max_index) */
+ /* limit index to min(index, vb_max_index) */
cond = LLVMBuildICmp(builder, LLVMIntULE, index, vb_max_index, "");
index = LLVMBuildSelect(builder, cond, index, vb_max_index, "");