From 2816694b0502652ec484b50b4f4773a8a4ce6ff8 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 16 Mar 2018 05:08:28 +0100 Subject: Code cleanup: fix various compiler warnings on clang/macOS. --- source/blender/gpu/intern/gpu_batch_presets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/intern/gpu_batch_presets.c') 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. */ -- cgit v1.2.3