diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-16 21:48:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-16 22:21:16 +0300 |
commit | b9af4efe41712680d554a389d771e83c66fce5c4 (patch) | |
tree | f9d674783ad32b3c7dafe7916d9937bd1dbdab73 /source/blender/draw/intern/draw_common.c | |
parent | ad390f514bfa33abadfd09e8fd673a0cfee68b39 (diff) |
Cleanup: fix compiler warnings.
Diffstat (limited to 'source/blender/draw/intern/draw_common.c')
-rw-r--r-- | source/blender/draw/intern/draw_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c index 849087d39af..2d1316f9406 100644 --- a/source/blender/draw/intern/draw_common.c +++ b/source/blender/draw/intern/draw_common.c @@ -41,7 +41,7 @@ ARRAY_SET_ITEMS(v4, (float)r / 255.0f, (float)g / 255.0f, (float)b / 255.0f, (float)a / 255.0f) /* Colors & Constant */ -struct DRW_Global G_draw = {0}; +struct DRW_Global G_draw = {{{0}}}; static bool weight_ramp_custom = false; static ColorBand weight_ramp_copy; |