Cleanup: compiler & clang-tidy warnings
This commit is contained in:
parent
addb1a5c9a
commit
841b2cea7b
|
@ -29,7 +29,7 @@ namespace blender::draw {
|
|||
/** \name Extract Selection Index
|
||||
* \{ */
|
||||
|
||||
static void extract_select_idx_init_impl(const MeshRenderData *mr,
|
||||
static void extract_select_idx_init_impl(const MeshRenderData *UNUSED(mr),
|
||||
const int len,
|
||||
void *buf,
|
||||
void *tls_data)
|
||||
|
|
|
@ -103,9 +103,9 @@ static void extract_vcol_init(const MeshRenderData *mr,
|
|||
GPU_vertbuf_init_with_format(vbo, &format);
|
||||
GPU_vertbuf_data_alloc(vbo, mr->loop_len);
|
||||
|
||||
typedef struct gpuMeshVcol {
|
||||
using gpuMeshVcol = struct gpuMeshVcol {
|
||||
ushort r, g, b, a;
|
||||
} gpuMeshVcol;
|
||||
};
|
||||
|
||||
gpuMeshVcol *vcol_data = (gpuMeshVcol *)GPU_vertbuf_get_data(vbo);
|
||||
MLoop *loops = (MLoop *)CustomData_get_layer(cd_ldata, CD_MLOOP);
|
||||
|
|
Loading…
Reference in New Issue