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>2017-02-25 17:23:27 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-02-26 02:16:21 +0300
commite9011100f75c22b3a9c9021fd49fb007efa03ed0 (patch)
tree88d482900f643136f8e29f79982ba78541cbf6b0 /source/blender/gpu
parent3cf2821f2f09d3c55dd88c2b6fb3b26e1ff69a7e (diff)
Fix compiler warnings on macOS / clang / c++11.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer.c b/source/blender/gpu/intern/gpu_framebuffer.c
index eb52825e02e..d632e1b44e6 100644
--- a/source/blender/gpu/intern/gpu_framebuffer.c
+++ b/source/blender/gpu/intern/gpu_framebuffer.c
@@ -385,7 +385,7 @@ void GPU_framebuffer_blur(
const float fullscreenuvs[4][2] = {{0.0f, 0.0f}, {1.0f, 0.0f}, {0.0f, 1.0f}, {1.0f, 1.0f}};
static VertexFormat format = {0};
- static VertexBuffer vbo = {0};
+ static VertexBuffer vbo = {{0}};
static Batch batch = {0};
const float scaleh[2] = {1.0f / GPU_texture_width(blurtex), 0.0f};