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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-14 13:20:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-14 13:21:22 +0300
commit6a4c5b67ec4f15e38cadc0381627ab9896319065 (patch)
tree30a7024de236e7cae86794b43a69b562fa38c944 /source/blender/gpu/intern/gpu_vertex_format.c
parent254b1a4294d06ae44f45a68b6756787392ce1fc1 (diff)
Cleanup: quiet warning
Diffstat (limited to 'source/blender/gpu/intern/gpu_vertex_format.c')
-rw-r--r--source/blender/gpu/intern/gpu_vertex_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_vertex_format.c b/source/blender/gpu/intern/gpu_vertex_format.c
index 82ae7dd4021..34e46caae7e 100644
--- a/source/blender/gpu/intern/gpu_vertex_format.c
+++ b/source/blender/gpu/intern/gpu_vertex_format.c
@@ -116,7 +116,7 @@ uint vertex_buffer_size(const GPUVertFormat *format, uint vertex_len)
return format->stride * vertex_len;
}
-static const char copy_attr_name(GPUVertFormat *format, const char *name)
+static char copy_attr_name(GPUVertFormat *format, const char *name)
{
/* strncpy does 110% of what we need; let's do exactly 100% */
uchar name_offset = format->name_offset;