diff options
author | Brian Paul <[email protected]> | 2015-10-12 11:32:35 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-10-13 08:28:22 -0600 |
commit | dd293d8aae324ac7b9d5297e33a1e732e1f3f4d3 (patch) | |
tree | afa5bef086881fd05987a2af2791bf055934dade /.gitignore | |
parent | c73c481c4a8fbe454cfd6a0014d25beb175c0a7f (diff) |
vbo: fix incorrect switch statement in init_mat_currval()
The variable 'i' is a value in [0, MAT_ATTRIB_MAX-1] so subtracting
VERT_ATTRIB_GENERIC0 gave a bogus value and we executed the default
switch clause for all loop iterations.
This doesn't fix any known issues but was clearly incorrect.
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions