From: Zou Nan hai Date: Tue, 19 Feb 2008 06:53:58 +0000 (+0800) Subject: fix compile for previous commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8c187fed78ef99bed47bf261464c8c31ed13302;p=mesa.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 766edc8dacc..6fca9ad220a 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++;