projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa/vbo: add some missing fallthrough comments
[mesa.git]
/
src
/
mesa
/
vbo
/
vbo_save_api.c
diff --git
a/src/mesa/vbo/vbo_save_api.c
b/src/mesa/vbo/vbo_save_api.c
index 1e09f7dbb899ea10916a0f12a0b2a9d6e4ef8e16..4e138f25c5b2d32a40124f3b165779db973c86f1 100644
(file)
--- a/
src/mesa/vbo/vbo_save_api.c
+++ b/
src/mesa/vbo/vbo_save_api.c
@@
-434,7
+434,8
@@
update_vao(struct gl_context *ctx,
*/
/* Bind the buffer object at binding point 0 */
*/
/* Bind the buffer object at binding point 0 */
- _mesa_bind_vertex_buffer(ctx, *vao, 0, bo, buffer_offset, stride);
+ _mesa_bind_vertex_buffer(ctx, *vao, 0, bo, buffer_offset, stride, false,
+ false);
/* Retrieve the mapping from VBO_ATTRIB to VERT_ATTRIB space
* Note that the position/generic0 aliasing is done in the VAO.
/* Retrieve the mapping from VBO_ATTRIB to VERT_ATTRIB space
* Note that the position/generic0 aliasing is done in the VAO.
@@
-738,10
+739,13
@@
copy_from_current(struct gl_context *ctx)
switch (save->attrsz[i]) {
case 4:
save->attrptr[i][3] = save->current[i][3];
switch (save->attrsz[i]) {
case 4:
save->attrptr[i][3] = save->current[i][3];
+ /* fallthrough */
case 3:
save->attrptr[i][2] = save->current[i][2];
case 3:
save->attrptr[i][2] = save->current[i][2];
+ /* fallthrough */
case 2:
save->attrptr[i][1] = save->current[i][1];
case 2:
save->attrptr[i][1] = save->current[i][1];
+ /* fallthrough */
case 1:
save->attrptr[i][0] = save->current[i][0];
break;
case 1:
save->attrptr[i][0] = save->current[i][0];
break;