From d8c187fed78ef99bed47bf261464c8c31ed13302 Mon Sep 17 00:00:00 2001 From: Zou Nan hai Date: Tue, 19 Feb 2008 14:53:58 +0800 Subject: fix compile for previous commit --- src/mesa/drivers/dri/i965/brw_wm_pass2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965') 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++; -- cgit v1.2.3