From: Zou Nan hai Date: Tue, 19 Feb 2008 06:53:58 +0000 (+0800) Subject: fix compile for previous commit X-Git-Tag: 062012170305~19017 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8c187fed78ef99bed47bf261464c8c31ed13302;p=profile%2Fivi%2Fmesa.git fix compile for previous commit --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_pass2.c b/src/mesa/drivers/dri/i965/brw_wm_pass2.c index 766edc8..6fca9ad 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_pass2.c +++ b/src/mesa/drivers/dri/i965/brw_wm_pass2.c @@ -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++;