Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-06-08 13:02:43 +0300
committerJeroen Bakker <jeroen@blender.org>2021-06-08 13:03:06 +0300
commit322a6144972a855b18ed80a3cdb45c44d036663f (patch)
treeb61a3d6d2828bb4405972eea3e2d36797f1edfde /source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc
parent340c535dbfa209283529b259e77e8f971f078d16 (diff)
Cleanup: replace typedef structs with structs.
Diffstat (limited to 'source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc')
-rw-r--r--source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc b/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc
index 570ea46ce8d..127d18bb62d 100644
--- a/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc
+++ b/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_lines_adjacency.cc
@@ -36,13 +36,13 @@ namespace blender::draw {
#define NO_EDGE INT_MAX
-typedef struct MeshExtract_LineAdjacency_Data {
+struct MeshExtract_LineAdjacency_Data {
GPUIndexBufBuilder elb;
EdgeHash *eh;
bool is_manifold;
/* Array to convert vert index to any loop index of this vert. */
uint vert_to_loop[0];
-} MeshExtract_LineAdjacency_Data;
+};
static void *extract_lines_adjacency_init(const MeshRenderData *mr,
struct MeshBatchCache *UNUSED(cache),