diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-14 08:41:09 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-14 08:41:09 +0300 |
commit | 3ee0723b7db79f782c5a6efad13d7eb43c2b017c (patch) | |
tree | ccccc44aae516fa186f9f8f1660fd37b519bc372 /source/blender/editors/space_view3d/drawarmature.c | |
parent | 225e3a6857b33ac0af8de89cc1b63734caa3e058 (diff) |
fix warnings from previous commit
Batch struct initializer needed more {{braces}}
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 18a558cf483..3cb83546a44 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -365,7 +365,7 @@ static void drawsolidcube_size(float xsize, float ysize, float zsize) { static VertexFormat format = {0}; static VertexBuffer vbo = {{0}}; - static Batch batch = {0}; + static Batch batch = {{0}}; const float light_vec[3] = {0.0f, 0.0f, 1.0f}; if (format.attrib_ct == 0) { @@ -428,7 +428,7 @@ static void drawcube_size(float xsize, float ysize, float zsize) static VertexBuffer vbo = {{0}}; static ElementListBuilder elb = {0}; static ElementList el = {0}; - static Batch batch = {0}; + static Batch batch = {{0}}; if (format.attrib_ct == 0) { /* Vertex format */ @@ -467,7 +467,7 @@ static void draw_bonevert(void) { static VertexFormat format = {0}; static VertexBuffer vbo = {{0}}; - static Batch batch = {0}; + static Batch batch = {{0}}; if (format.attrib_ct == 0) { /* Vertex format */ @@ -585,7 +585,7 @@ static void draw_bone_octahedral(void) static VertexBuffer vbo = {{0}}; static ElementListBuilder elb = {0}; static ElementList el = {0}; - static Batch batch = {0}; + static Batch batch = {{0}}; if (format.attrib_ct == 0) { /* Vertex format */ @@ -622,7 +622,7 @@ static void draw_bone_solid_octahedral(void) { static VertexFormat format = {0}; static VertexBuffer vbo = {{0}}; - static Batch batch = {0}; + static Batch batch = {{0}}; const float light_vec[3] = {0.0f, 0.0f, 1.0f}; if (format.attrib_ct == 0) { |