Fix wrong cast from uint to int
Error in rB3d877c8a0d06
This commit is contained in:
@@ -222,7 +222,7 @@ static void extract_vert_idx_loose_geom_subdiv(const DRWSubdivCache *subdiv_cach
|
||||
|
||||
GPUVertBuf *vbo = static_cast<GPUVertBuf *>(buffer);
|
||||
int32_t *vert_idx_data = (int32_t *)GPU_vertbuf_get_data(vbo);
|
||||
int offset = subdiv_cache->num_subdiv_loops;
|
||||
uint offset = subdiv_cache->num_subdiv_loops;
|
||||
|
||||
blender::Span<DRWSubdivLooseEdge> loose_edges = draw_subdiv_cache_get_loose_edges(subdiv_cache);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user