diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-01 02:06:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-01 02:06:34 +0300 |
commit | a372638a76e05aaa44589845680c15a7f09a7f1e (patch) | |
tree | 0ff6bf85c4f4927ec93ae5fe079bb859f55ff990 /source/blender/gpu/intern | |
parent | 2b7edb77c96da305e9ce709fe8d87c03a031676a (diff) |
Cleanup: use static vars where appropriate
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 9f1fe3a5a67..73c4d8a6804 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -76,7 +76,7 @@ typedef struct { static size_t gpu_buffer_size_from_type(DerivedMesh *dm, GPUBufferType type); -const GPUBufferTypeSettings gpu_buffer_type_settings[] = { +static const GPUBufferTypeSettings gpu_buffer_type_settings[] = { /* vertex */ {GL_ARRAY_BUFFER, 3}, /* normal */ |