diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-07 03:38:08 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-07 06:16:26 +0300 |
commit | 3d3bc748849834ef74563deb603ab43859cffeeb (patch) | |
tree | de74ce4722b2cb032c22dbc090a15dd2e172c29b /source/blender/python/gpu | |
parent | bb69c19f08ac681d4386325e4318ebfbef2e9531 (diff) |
Cleanup: remove redundant const qualifiers for POD types
MSVC used to warn about const mismatch for arguments passed by value.
Remove these as newer versions of MSVC no longer show this warning.
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r-- | source/blender/python/gpu/gpu_py_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/gpu/gpu_py_buffer.h b/source/blender/python/gpu/gpu_py_buffer.h index cbc46339628..3dcf335230d 100644 --- a/source/blender/python/gpu/gpu_py_buffer.h +++ b/source/blender/python/gpu/gpu_py_buffer.h @@ -55,7 +55,7 @@ size_t bpygpu_Buffer_size(BPyGPUBuffer *buffer); * \param buffer: When not NULL holds a contiguous buffer * with the correct format from which the buffer will be initialized */ -BPyGPUBuffer *BPyGPU_Buffer_CreatePyObject(const int format, +BPyGPUBuffer *BPyGPU_Buffer_CreatePyObject(int format, const Py_ssize_t *shape, - const int shape_len, + int shape_len, void *buffer); |