fix bug causing unnecessary translations

This commit is contained in:
Brian
2007-09-28 20:31:24 -06:00
parent bbcbd362a9
commit ae7f200788

View File

@@ -183,7 +183,7 @@ find_translated_vp(struct st_context *st,
* XXX This could be a hash lookup, using InputsRead as the key.
*/
for (xvp = stfp->vertex_programs; xvp; xvp = xvp->next) {
if (xvp->frag_inputs == stfp->Base.Base.InputsRead) {
if (xvp->frag_inputs == fragInputsRead) {
break;
}
}