Fix T64601 Error division by zero in GPUVertexFormat
authorClément Foucault <foucault.clem@gmail.com>
Tue, 14 May 2019 14:31:04 +0000 (16:31 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 14 May 2019 14:31:09 +0000 (16:31 +0200)
commit3db428406f69358f7bc81e8f757f733338236a29
tree33d948bd875757f126255ed1afe26e4726b1b10e
parentaf088c26409503a53fdc0182038faa6574cfc29f
Fix T64601 Error division by zero in GPUVertexFormat

The windows compiler use signed int by default for enums so that broke
the bit count I carefully did. Forcing uint fixes it.
source/blender/gpu/GPU_vertex_buffer.h
source/blender/gpu/GPU_vertex_format.h