fix compile for previous commit

This commit is contained in:
Zou Nan hai
2008-02-19 14:53:58 +08:00
parent 689ff273d1
commit d8c187fed7

View File

@@ -90,7 +90,7 @@ static void init_registers( struct brw_wm_compile *c )
in shader varying */
GLuint index;
if (j > FRAG_ATTRIB_VAR0)
index = j - (VERT_RESULT_VAR0 - FRAG_ATTRIB_VAR0)
index = j - (VERT_RESULT_VAR0 - FRAG_ATTRIB_VAR0);
else
index = j;
nr_interp_regs++;