mesa: set input read only on success

This commit is contained in:
Markus Amsler 2008-02-27 02:04:06 +01:00 committed by John Doe
parent 20b8bff49c
commit 12a4a74e94
1 changed files with 2 additions and 2 deletions

View File

@ -1616,10 +1616,10 @@ parse_attrib_binding(GLcontext * ctx, const GLubyte ** inst,
if (err) {
program_error(ctx, Program->Position, "Bad attribute binding");
} else {
Program->Base.InputsRead |= (1 << *inputReg);
}
Program->Base.InputsRead |= (1 << *inputReg);
return err;
}