Module: Mesa
Branch: master
Commit: 5700bc6bac8a1a7f8a82f667e561745804317bb8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5700bc6bac8a1a7f8a82f667e561745804317bb8

Author: Brian Paul <bri...@vmware.com>
Date:   Sat Jan 15 17:33:19 2011 -0700

draw: add missing LP_CHECK_MEMBER_OFFSET()

---

 src/gallium/auxiliary/draw/draw_llvm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_llvm.c 
b/src/gallium/auxiliary/draw/draw_llvm.c
index 41269ee..0c51aa8 100644
--- a/src/gallium/auxiliary/draw/draw_llvm.c
+++ b/src/gallium/auxiliary/draw/draw_llvm.c
@@ -229,6 +229,8 @@ create_jit_vertex_buffer_type(struct gallivm_state *gallivm)
 
    LP_CHECK_MEMBER_OFFSET(struct pipe_vertex_buffer, stride,
                           target, vb_type, 0);
+   LP_CHECK_MEMBER_OFFSET(struct pipe_vertex_buffer, max_index,
+                          target, vb_type, 1);
    LP_CHECK_MEMBER_OFFSET(struct pipe_vertex_buffer, buffer_offset,
                           target, vb_type, 2);
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to