mesa: Branch 'master'

Roland Scheidegger sroland at kemper.freedesktop.org
Wed Feb 14 19:36:15 UTC 2007


 src/mesa/vbo/vbo_exec_array.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 7d8ed0f5f5960a492734cb415b8a85ef4ad79846 (from 83cf4ce6e40ed1841b94f528dc89838e875c720d)
Author: Roland Scheidegger <sroland at tungstengraphics.com>
Date:   Wed Feb 14 20:34:52 2007 +0100

    fix typo preventing generic arrays from working with ARB_vp (bug #9952)

diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index 7ea5547..1e4c310 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -196,7 +196,7 @@ static void recalculate_input_bindings( 
       }
 
       for (i = 0; i < 16; i++) {
-	 if (exec->array.generic_array[0]->Enabled)
+	 if (exec->array.generic_array[i]->Enabled)
 	    inputs[VERT_ATTRIB_GENERIC0 + i] = exec->array.generic_array[i];
 	 else
 	    inputs[VERT_ATTRIB_GENERIC0 + i] = &vbo->generic_currval[i];



More information about the mesa-commit mailing list