From 16adfff1c67a85ef52ed2a97261a6e63df8abb26 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 1 Sep 2022 19:59:55 +0200 Subject: Cleanup: make format --- source/blender/gpu/intern/gpu_vertex_format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/intern/gpu_vertex_format.cc') 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; -- cgit v1.2.3