Commit: 5a9d2b872e449c327a8e1c16fab29ba2c8a6f00c
Author: Jeroen Bakker
Date: Fri Feb 3 14:11:07 2023 +0100
Branches: master
https://developer.blender.org/rB5a9d2b872e449c327a8e1c16fab29ba2c8a6f00c
Cleanup: incorrect naming of storage_buf parameters.
They were named vert.
===================================================================
M source/blender/gpu/intern/gpu_storage_buffer_private.hh
===================================================================
diff --git a/source/blender/gpu/intern/gpu_storage_buffer_private.hh
b/source/blender/gpu/intern/gpu_storage_buffer_private.hh
index 0c96f97ad30..cdc53dc0a26 100644
--- a/source/blender/gpu/intern/gpu_storage_buffer_private.hh
+++ b/source/blender/gpu/intern/gpu_storage_buffer_private.hh
@@ -48,17 +48,17 @@ class StorageBuf {
};
/* Syntactic sugar. */
-static inline GPUStorageBuf *wrap(StorageBuf *vert)
+static inline GPUStorageBuf *wrap(StorageBuf *storage_buf)
{
- return reinterpret_cast<GPUStorageBuf *>(vert);
+ return reinterpret_cast<GPUStorageBuf *>(storage_buf);
}
-static inline StorageBuf *unwrap(GPUStorageBuf *vert)
+static inline StorageBuf *unwrap(GPUStorageBuf *storage_buf)
{
- return reinterpret_cast<StorageBuf *>(vert);
+ return reinterpret_cast<StorageBuf *>(storage_buf);
}
-static inline const StorageBuf *unwrap(const GPUStorageBuf *vert)
+static inline const StorageBuf *unwrap(const GPUStorageBuf *storage_buf)
{
- return reinterpret_cast<const StorageBuf *>(vert);
+ return reinterpret_cast<const StorageBuf *>(storage_buf);
}
#undef DEBUG_NAME_LEN
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs