info.max_index = ~0;
info.start_instance = 0;
info.instance_count = 1;
- info.primitive_restart = FALSE;
+ info.primitive_restart = TRUE;
+ info.restart_index = strip_cut_index;
pipe->draw_vbo(pipe, &info);
}
info.max_index = ~0;
info.start_instance = 0;
info.instance_count = 1;
- info.primitive_restart = TRUE;
- info.restart_index = strip_cut_index;
+ info.primitive_restart = FALSE;
pipe->draw_vbo(pipe, &info);
}
info.max_index = ~0;
info.start_instance = start_instance_location;
info.instance_count = instance_count;
- info.primitive_restart = FALSE;
+ info.primitive_restart = TRUE;
+ info.restart_index = strip_cut_index;
pipe->draw_vbo(pipe, &info);
}
info.max_index = ~0;
info.start_instance = start_instance_location;
info.instance_count = instance_count;
- info.primitive_restart = TRUE;
- info.restart_index = strip_cut_index;
+ info.primitive_restart = FALSE;
pipe->draw_vbo(pipe, &info);
}
info.max_index = ~0;
info.start_instance = 0;
info.instance_count = data.instance_count;
- info.primitive_restart = FALSE;
+ info.primitive_restart = TRUE;
+ info.restart_index = strip_cut_index;
pipe->draw_vbo(pipe, &info);
}
info.max_index = ~0;
info.start_instance = 0;
info.instance_count = data.instance_count;
- info.primitive_restart = TRUE;
- info.restart_index = strip_cut_index;
+ info.primitive_restart = FALSE;
pipe->draw_vbo(pipe, &info);
}