diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_vertex_format.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_vertex_format.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_vertex_format.cc b/source/blender/gpu/intern/gpu_vertex_format.cc index 2463dc2ae06..c16c06c1421 100644 --- a/source/blender/gpu/intern/gpu_vertex_format.cc +++ b/source/blender/gpu/intern/gpu_vertex_format.cc @@ -402,7 +402,7 @@ void GPU_vertformat_from_shader(GPUVertFormat *format, const struct GPUShader *g GPU_vertformat_clear(format); uint attr_len = GPU_shader_get_attribute_len(gpushader); - int location_test = 0, attrs_added = 0;; + int location_test = 0, attrs_added = 0; while (attrs_added < attr_len) { char name[256]; Type gpu_type; |