ir_to_mesa: Fix warning in last commit.

I swear there was some git option for "don't push things when you've
got uncommitted changes", but I can't find it now.
This commit is contained in:
Eric Anholt 2010-09-07 14:02:39 -07:00
parent 6c0ba32fd1
commit acd7c21541

View file

@ -892,7 +892,7 @@ ir_to_mesa_visitor::visit(ir_variable *ir)
if (storage->index == -1) {
storage->index = index;
} else {
assert(index == (storage->index +
assert(index == ((int)storage->index +
a * statevar->num_elements + i));
}
} else {