projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: Move load_interpolated_input/barycentric_* intrinsics to the top.
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_atom_array.c
diff --git
a/src/mesa/state_tracker/st_atom_array.c
b/src/mesa/state_tracker/st_atom_array.c
index 56b8019a36fbccc8956fa43c13793866d8d2571d..0847184d74df7f778d98d1e11786d04724ce65e7 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_array.c
+++ b/
src/mesa/state_tracker/st_atom_array.c
@@
-567,8
+567,12
@@
setup_non_interleaved_attribs(struct st_context *st,
unsigned src_format;
array = get_client_array(vp, arrays, attr);
unsigned src_format;
array = get_client_array(vp, arrays, attr);
- if (!array)
+ if (!array) {
+ vbuffer[attr].buffer = NULL;
+ vbuffer[attr].user_buffer = NULL;
+ vbuffer[attr].buffer_offset = 0;
continue;
continue;
+ }
stride = array->StrideB;
bufobj = array->BufferObj;
stride = array->StrideB;
bufobj = array->BufferObj;