need to call bind_arrays() in vbo_exec_DrawRangeElements.
authorRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 3 Nov 2006 12:33:29 +0000 (12:33 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 3 Nov 2006 12:33:29 +0000 (12:33 +0000)
src/mesa/vbo/vbo_exec_array.c

index 8f5c26920b997abbe3d6868e306f3bb186a48d85..803e58c148509af4e3110c6dc075c957347c2d71 100644 (file)
@@ -290,7 +290,9 @@ vbo_exec_DrawRangeElements(GLenum mode,
 
    if (ctx->NewState)
       _mesa_update_state( ctx );
-      
+
+   bind_arrays( ctx );
+
    ib.count = count;
    ib.type = type; 
    ib.obj = ctx->Array.ElementArrayBufferObj;