projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
[mesa.git]
/
src
/
gallium
/
auxiliary
/
draw
/
draw_pt_varray_tmp_linear.h
diff --git
a/src/gallium/auxiliary/draw/draw_pt_varray_tmp_linear.h
b/src/gallium/auxiliary/draw/draw_pt_varray_tmp_linear.h
index 55a8e6521dc4e3709a441a43b236c5f877dc0d8c..010c7a18a7c93e0c0b35546728ca3487f6285a72 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pt_varray_tmp_linear.h
+++ b/
src/gallium/auxiliary/draw/draw_pt_varray_tmp_linear.h
@@
-9,7
+9,7
@@
static void FUNC(struct draw_pt_front_end *frontend,
unsigned count)
{
struct varray_frontend *varray = (struct varray_frontend *)frontend;
unsigned count)
{
struct varray_frontend *varray = (struct varray_frontend *)frontend;
- unsigned start = (unsigned)
elts
;
+ unsigned start = (unsigned)
((char *) elts - (char *) NULL)
;
unsigned j;
unsigned first, incr;
unsigned j;
unsigned first, incr;