silly bug: it's PROGRAM_VARYING

This commit is contained in:
Zack Rusin
2008-06-12 19:41:54 -04:00
parent 3911ef0327
commit 314c460604
+1 -1
View File
@@ -382,7 +382,7 @@ _mesa_remove_output_reads(struct gl_program *prog, enum register_file type)
GLuint numVaryingReads = 0;
assert(prog->Target == GL_VERTEX_PROGRAM_ARB);
assert(type == PROGRAM_UNIFORM || type == PROGRAM_OUTPUT);
assert(type == PROGRAM_VARYING || type == PROGRAM_OUTPUT);
for (i = 0; i < VERT_RESULT_MAX; i++)
outputMap[i] = -1;