diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-25 17:23:27 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-26 02:16:21 +0300 |
commit | e9011100f75c22b3a9c9021fd49fb007efa03ed0 (patch) | |
tree | 88d482900f643136f8e29f79982ba78541cbf6b0 /source/blender/editors/space_view3d/drawarmature.c | |
parent | 3cf2821f2f09d3c55dd88c2b6fb3b26e1ff69a7e (diff) |
Fix compiler warnings on macOS / clang / c++11.
Diffstat (limited to 'source/blender/editors/space_view3d/drawarmature.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index 172df71bfc5..bec94fd2cb8 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -364,7 +364,7 @@ static const float cube_wire[24] = { static void drawsolidcube_size(float xsize, float ysize, float zsize) { static VertexFormat format = {0}; - static VertexBuffer vbo = {0}; + static VertexBuffer vbo = {{0}}; static Batch batch = {0}; const float light_vec[3] = {0.0f, 0.0f, 1.0f}; @@ -425,7 +425,7 @@ static void drawsolidcube_size(float xsize, float ysize, float zsize) static void drawcube_size(float xsize, float ysize, float zsize) { static VertexFormat format = {0}; - static VertexBuffer vbo = {0}; + static VertexBuffer vbo = {{0}}; static ElementListBuilder elb = {0}; static ElementList el = {0}; static Batch batch = {0}; @@ -466,7 +466,7 @@ static void drawcube_size(float xsize, float ysize, float zsize) static void draw_bonevert(void) { static VertexFormat format = {0}; - static VertexBuffer vbo = {0}; + static VertexBuffer vbo = {{0}}; static Batch batch = {0}; if (format.attrib_ct == 0) { @@ -582,7 +582,7 @@ static const float bone_octahedral_solid_normals[8][3] = { static void draw_bone_octahedral(void) { static VertexFormat format = {0}; - static VertexBuffer vbo = {0}; + static VertexBuffer vbo = {{0}}; static ElementListBuilder elb = {0}; static ElementList el = {0}; static Batch batch = {0}; @@ -621,7 +621,7 @@ static void draw_bone_octahedral(void) static void draw_bone_solid_octahedral(void) { static VertexFormat format = {0}; - static VertexBuffer vbo = {0}; + static VertexBuffer vbo = {{0}}; static Batch batch = {0}; const float light_vec[3] = {0.0f, 0.0f, 1.0f}; |