Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-16 07:08:28 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-16 07:08:56 +0300
commit2816694b0502652ec484b50b4f4773a8a4ce6ff8 (patch)
tree18ccd8ae026f7474aa15908d039d6ebfa31c41a3 /source/blender/gpu/intern/gpu_batch_presets.c
parent3692a2bcb3b8f742551c791c6e484e01678a0835 (diff)
Code cleanup: fix various compiler warnings on clang/macOS.
Diffstat (limited to 'source/blender/gpu/intern/gpu_batch_presets.c')
-rw-r--r--source/blender/gpu/intern/gpu_batch_presets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_batch_presets.c b/source/blender/gpu/intern/gpu_batch_presets.c
index 950f1a2dab3..696143a3857 100644
--- a/source/blender/gpu/intern/gpu_batch_presets.c
+++ b/source/blender/gpu/intern/gpu_batch_presets.c
@@ -51,7 +51,7 @@ static struct {
struct {
uint pos, nor;
} attr_id;
-} g_presets_3d = {0};
+} g_presets_3d = {{0}};
/* We may want 2D presets later. */