Fix wrong cast from uint to int

Error in rB3d877c8a0d06
This commit is contained in:
Germano Cavalcante 2022-04-29 10:19:41 -03:00
parent 7fd11d9c7f
commit a323ada701
Notes: blender-bot 2024-05-02 21:33:31 +02:00
Referenced by issue #97702, Crash loading demo flat-archiviz with 3.2 Alpha
1 changed files with 1 additions and 1 deletions

View File

@ -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);