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/gpu/intern/gpu_framebuffer.c | |
parent | 225e3a6857b33ac0af8de89cc1b63734caa3e058 (diff) |
fix warnings from previous commit
Batch struct initializer needed more {{braces}}
Diffstat (limited to 'source/blender/gpu/intern/gpu_framebuffer.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_framebuffer.c | 2 |
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 d632e1b44e6..bd08f9d9195 100644 --- a/source/blender/gpu/intern/gpu_framebuffer.c +++ b/source/blender/gpu/intern/gpu_framebuffer.c @@ -386,7 +386,7 @@ void GPU_framebuffer_blur( static VertexFormat format = {0}; static VertexBuffer vbo = {{0}}; - static Batch batch = {0}; + static Batch batch = {{0}}; const float scaleh[2] = {1.0f / GPU_texture_width(blurtex), 0.0f}; const float scalev[2] = {0.0f, 1.0f / GPU_texture_height(tex)}; |