[Bf-blender-cvs] [46e1ad711ce] master: Cleanup: inconsistent parameter name

Jacques Lucke noreply at git.blender.org
Thu May 27 10:46:52 CEST 2021


Commit: 46e1ad711ce7b28c4c7b6cd81f2024dd63acda67
Author: Jacques Lucke
Date:   Thu May 27 10:46:43 2021 +0200
Branches: master
https://developer.blender.org/rB46e1ad711ce7b28c4c7b6cd81f2024dd63acda67

Cleanup: inconsistent parameter name

===================================================================

M	source/blender/gpu/GPU_index_buffer.h

===================================================================

diff --git a/source/blender/gpu/GPU_index_buffer.h b/source/blender/gpu/GPU_index_buffer.h
index bdacfe6fc0f..8362dbcaccc 100644
--- a/source/blender/gpu/GPU_index_buffer.h
+++ b/source/blender/gpu/GPU_index_buffer.h
@@ -87,7 +87,7 @@ void GPU_indexbuf_create_subrange_in_place(GPUIndexBuf *elem,
  * local copy, use `GPU_indexbuf_unmap` after calling `GPU_indexbuf_read`.
  */
 const uint32_t *GPU_indexbuf_read(GPUIndexBuf *elem);
-uint32_t *GPU_indexbuf_unmap(const GPUIndexBuf *elem, const uint32_t *mapped_data);
+uint32_t *GPU_indexbuf_unmap(const GPUIndexBuf *elem, const uint32_t *mapped_buffer);
 
 void GPU_indexbuf_discard(GPUIndexBuf *elem);



More information about the Bf-blender-cvs mailing list