projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a75019
)
mesa: When copying a VAO also copy the vertex attribute mode.
author
Mathias Fröhlich
<mathias.froehlich@web.de>
Thu, 22 Mar 2018 04:34:09 +0000
(
05:34
+0100)
committer
Mathias Fröhlich
<mathias.froehlich@web.de>
Fri, 23 Mar 2018 18:58:54 +0000
(19:58 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index
9d3aa72
..
9c632ff
100644
(file)
--- a/
src/mesa/main/attrib.c
+++ b/
src/mesa/main/attrib.c
@@
-1515,6
+1515,7
@@
copy_array_object(struct gl_context *ctx,
dest->_Enabled = src->_Enabled;
/* The bitmask of bound VBOs needs to match the VertexBinding array */
dest->VertexAttribBufferMask = src->VertexAttribBufferMask;
+ dest->_AttributeMapMode = src->_AttributeMapMode;
dest->NewArrays = src->NewArrays;
}