diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-03-10 06:46:56 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-03-10 06:47:37 +0300 |
commit | c971e812d5e2e5c45ed262ccd3bccfcf547b9ff7 (patch) | |
tree | 601a657aa7c741a9ba5ed4b80ad5d180612063fe /source/blender/makesrna/intern/rna_gpencil.c | |
parent | bf1b323b154433ab4701a7ab455cdecaa3867819 (diff) |
Fix T74536: Grease pencil immediately crashes on macOS
It seems like OSX drivers are using standard attributes for passing
gl_VertexID and gl_InstanceID to the vertex shader, and count them in the
limit of MAX_VERTEX_ATTRIBS.
This patch make sure to never use more than 13 attributes by packing some
attributes together.
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
0 files changed, 0 insertions, 0 deletions