Fix: UI: Assert failure with displaying node editor #124880
@ -2050,7 +2050,7 @@ static void nodelink_batch_init()
|
||||
g_batch_link.dash_params_id = GPU_vertformat_attr_add(
|
||||
&format_inst, "dash_params", GPU_COMP_F32, 3, GPU_FETCH_FLOAT);
|
||||
g_batch_link.has_back_link_id = GPU_vertformat_attr_add(
|
||||
&format_inst, "has_back_link", GPU_COMP_U32, 1, GPU_FETCH_INT);
|
||||
&format_inst, "has_back_link", GPU_COMP_I32, 1, GPU_FETCH_INT);
|
||||
g_batch_link.inst_vbo = GPU_vertbuf_create_with_format_ex(format_inst, GPU_USAGE_STREAM);
|
||||
/* Alloc max count but only draw the range we need. */
|
||||
GPU_vertbuf_data_alloc(*g_batch_link.inst_vbo, NODELINK_GROUP_SIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user